Allow concurrent build jobs but not deploys
This commit is contained in:
parent
68aa165979
commit
c178fb1f44
1 changed files with 3 additions and 4 deletions
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -10,10 +10,6 @@ on:
|
|||
- 'srcpkgs/**'
|
||||
- '.github/**' # for easier debugging
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
changedpkgs:
|
||||
name: Check package changes
|
||||
|
@ -142,6 +138,9 @@ jobs:
|
|||
name: Deploy repository
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ build ]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-deployment
|
||||
cancel-in-progress: false
|
||||
if: "github.ref == 'refs/heads/main' && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
|
||||
|
||||
container:
|
||||
|
|
Loading…
Reference in a new issue