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
|
echo "environment-url=http://vault.bitwarden.eu" >> $GITHUB_OUTPUT
|
||||||
fi
|
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:
|
notify-start:
|
||||||
name: Notify Slack with start message
|
name: Notify Slack with start message
|
||||||
|
needs: approval
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
@@ -137,6 +146,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- artifact-check
|
- artifact-check
|
||||||
|
- approval
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
_ENVIRONMENT: ${{ needs.setup.outputs.environment }}
|
_ENVIRONMENT: ${{ needs.setup.outputs.environment }}
|
||||||
|
|||||||
Reference in New Issue
Block a user