Skip to content

Commit

Permalink
Docker CI Skip No Push Step if Merge (ReactionMechanismGenerator#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinp0 authored Feb 15, 2024
2 parents 1f561ed + 53d0e2d commit be1f6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v2

- name: Build Docker Image (No Push)
if: github.event_name == 'pull_request' || github.event_name == 'push'
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref != 'refs/heads/main')
uses: docker/[email protected]
with:
context: .
Expand Down

0 comments on commit be1f6c8

Please sign in to comment.