Skip to content

Commit

Permalink
feat(build workflow): Deployment job concurrency set
Browse files Browse the repository at this point in the history
Ensures that the latest version is always deployed.
  • Loading branch information
Alirezaja1384 committed Sep 8, 2024
1 parent 3c58771 commit 71ee40d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ jobs:
name: Update deployment
runs-on: ubuntu-latest
needs: [build, tag]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

steps:
- name: Check if deployment PAT is set
id: deployment_check
Expand Down

0 comments on commit 71ee40d

Please sign in to comment.