Skip to content

Commit 01ca6fb

Browse files
committed
dev
1 parent d71ed05 commit 01ca6fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/devops.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
# Cancel any other running workflows with the same ID
2020
concurrency:
21-
group: cd-development-${{ github.ref }}
21+
group: cd-devops-${{ github.ref }}
2222
cancel-in-progress: true
2323

2424
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
@@ -35,15 +35,15 @@ jobs:
3535
secrets: inherit
3636

3737
deploy:
38-
if: ${{ github.event_name != 'pull_request' }}
38+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
3939
needs: [ build ]
4040
uses: ./.github/workflows/_deploy-nuget.yml
4141
with:
4242
environment: ${{ inputs.environment }}
4343
project-name: ${{ inputs.project-name }}
4444
version: ${{ needs.build.outputs.version }}
4545
permissions:
46-
pages: write
46+
contents: read
47+
packages: write
4748
id-token: write
4849
secrets: inherit
49-

0 commit comments

Comments
 (0)