Disable deployment record for release workflow
Set deployment: false on the publish environment so the release job accesses environment protection rules and secrets without creating a deployment record.
This commit is contained in:
@@ -50,7 +50,9 @@ jobs:
|
||||
return true;
|
||||
|
||||
release:
|
||||
environment: publish
|
||||
environment:
|
||||
name: publish
|
||||
deployment: false
|
||||
|
||||
needs: check-version-change
|
||||
if: ${{ needs.check-version-change.outputs.changed == 'true' }}
|
||||
|
||||
Reference in New Issue
Block a user