mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-25 14:05:03 +00:00
enable auto deploy to gamma
This commit is contained in:
12
.github/workflows/docker-image.yml
vendored
12
.github/workflows/docker-image.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user