Allow concurrent build jobs but not deploys

This commit is contained in:
Marty Oehme 2025-03-08 17:24:36 +01:00
parent 68aa165979
commit c178fb1f44
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -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: