add manual approval setp

This commit is contained in:
Maidul Islam
2023-01-13 13:09:57 -08:00
parent 189d24589e
commit a00e6df59f

View File

@ -100,10 +100,19 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
manualApprove:
needs: [frontend-image, backend-image]
environment:
name: gamma-deployment
runs-on: ubuntu-latest
steps:
- name: manual approve
run: |
echo "Manually approved"
gamma-deployment:
name: Deploy to gamma
runs-on: ubuntu-latest
needs: [frontend-image, backend-image]
needs: [manualApprove]
if: github.event_name == 'repository_dispatch'
steps:
- name: ☁️ Checkout source