Skip to content

Commit

Permalink
Set trigger to only run on merge to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Nov 12, 2024
1 parent 2bc2ede commit 6127504
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-push-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Build and Push Docker Images

on:
push:
pull_request:
types:
- closed
branches:
- main

jobs:
build-and-push-image:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 6127504

Please sign in to comment.