1
0
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:
Alex Urbina
2023-12-12 12:36:56 -06:00
parent 9956882c1e
commit efcfaff43c

View File

@@ -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 }}