mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
DEVOPS-1683 ADD: Approval step for deployment
This commit is contained in:
10
.github/workflows/deploy-non-prod-web.yml
vendored
10
.github/workflows/deploy-non-prod-web.yml
vendored
@@ -74,8 +74,17 @@ jobs:
|
||||
echo "environment-url=http://vault.bitwarden.eu" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
approval:
|
||||
name: Approval for Deployment to ${{ needs.setup.outputs.environment-name }}
|
||||
runs-on: ubuntu-22.04
|
||||
environment: ${{ needs.setup.outputs.environment-name }}
|
||||
steps:
|
||||
- name: Success Code
|
||||
run: exit 0
|
||||
|
||||
notify-start:
|
||||
name: Notify Slack with start message
|
||||
needs: approval
|
||||
runs-on: ubuntu-22.04
|
||||
if: always()
|
||||
steps:
|
||||
@@ -137,6 +146,7 @@ jobs:
|
||||
needs:
|
||||
- setup
|
||||
- artifact-check
|
||||
- approval
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
_ENVIRONMENT: ${{ needs.setup.outputs.environment }}
|
||||
|
||||
Reference in New Issue
Block a user