Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Jan 10, 2025
1 parent 22e57d6 commit d614d81
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
steps:
- name: Cancel job
if: ${{ !(startsWith(github.ref, format('refs/tags/{0}', matrix.image)) || github.ref == 'refs/heads/main') }}
run: exit 0
env:
GH_TOKEN: ${{ secrets. GITHUB_TOKEN }}
run: |
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
Expand Down

0 comments on commit d614d81

Please sign in to comment.