From d84c3a2d2b2f9f7e301c41cd0771ca46adea5c9c Mon Sep 17 00:00:00 2001 From: Josh Furie Date: Sat, 20 Jul 2024 14:44:33 -0700 Subject: [PATCH] fix: Add deployment status update step in develop.deploy-functions.yml --- .github/workflows/develop.deploy-functions.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/develop.deploy-functions.yml b/.github/workflows/develop.deploy-functions.yml index 4ba086a14..8ef06fa5a 100644 --- a/.github/workflows/develop.deploy-functions.yml +++ b/.github/workflows/develop.deploy-functions.yml @@ -67,3 +67,13 @@ jobs: with: service: ${{vars.APP_NAME}} image: 'gcr.io/${{ vars.PROJECT_ID }}/${{ vars.DOCKER_IMAGE_NAME }}:latest' + - id: set_state_final + if: always() + name: Set deployment status + uses: rsotnychenko/deployment-status-update@0.2.1 + with: + status: ${{ job.status }} + run_id: ${{ github.run_id }} + environment_url: ${{ steps.deploy.outputs.url }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}