File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818
1919# Cancel any other running workflows with the same ID
2020concurrency :
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-
You can’t perform that action at this time.
0 commit comments