Skip to content

Commit

Permalink
Merge pull request #168 from 0xPolygon/SPEC-889-github-workflow-for-d…
Browse files Browse the repository at this point in the history
…ocker-publish

GCP deployment update
  • Loading branch information
sshrihar authored Feb 10, 2025
2 parents 61e5c4d + 8046f57 commit 0ba0f41
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deployment_gcp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Static Deployment GCP
on:
push:
branches:
- master
workflow_dispatch:
inputs:
environment:
required: true
type: choice
description: "Select the environment to deploy to"
options:
- staging
- prod
- dev

permissions:
contents: read
id-token: write

jobs:
docker-release:
uses: 0xPolygon/pipelines/.github/workflows/gcp_pipeline_release_image.yaml@main
with:
image_name: static
environment: ${{ github.event_name == 'push' && 'dev' || inputs.environment }}

0 comments on commit 0ba0f41

Please sign in to comment.