enable auto deploy to gamma

This commit is contained in:
Maidul Islam
2023-01-13 13:13:15 -08:00
parent a00e6df59f
commit 092e4a55bd

View File

@ -100,20 +100,10 @@ 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: [manualApprove]
if: github.event_name == 'repository_dispatch'
needs: [frontend-image, backend-image]
steps:
- name: ☁️ Checkout source
uses: actions/checkout@v3