diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4e13a1a2..ea232b9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -108,3 +108,26 @@ jobs: with: service: ${{ vars.GCP_SERVICE }} image: ${{ env.DOCKER_IMAGE_URL }} + + deploy-stable-cadence-production: + needs: [build] + environment: stable-cadence-production + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Google auth + id: auth + uses: google-github-actions/auth@v2 + with: + token_format: 'access_token' + workload_identity_provider: ${{ vars.DEPLOYER_GCP_WORKLOAD_IDENTITY_PROVIDER }} + service_account: ${{ vars.DEPLOYER_SERVICE_ACCOUNT }} + - name: Deploy to Cloud Run + uses: google-github-actions/deploy-cloudrun@v1 + with: + service: ${{ vars.GCP_SERVICE }} + image: ${{ env.DOCKER_IMAGE_URL }}