Skip to content

Commit

Permalink
add manual approval setp
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Jan 13, 2023
1 parent 189d245 commit a00e6df
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a00e6df

Please sign in to comment.