diff options
author | 2020-11-24 06:38:00 +0200 | |
---|---|---|
committer | 2020-11-24 06:38:00 +0200 | |
commit | 91462340622f681815578e8342b0fb225ae04084 (patch) | |
tree | f882bc0fa8daa7aef5bad61e9b0ead25584d181d /.github | |
parent | Fix GHCR Docker caching (diff) |
Check event for build and push job
Co-authored-by: Sebastiaan Zeeff <[email protected]>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/forms-backend.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml index 50a09f2..b2f1adc 100644 --- a/.github/workflows/forms-backend.yml +++ b/.github/workflows/forms-backend.yml @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest needs: [lint] - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' steps: - name: Create SHA Container Tag |