mirror of
https://github.com/vercel/commerce.git
synced 2025-06-14 03:31:20 +00:00
fix: Add deployment status update step in develop.deploy-functions.yml
This commit is contained in:
parent
f0f1895bfc
commit
d84c3a2d2b
10
.github/workflows/develop.deploy-functions.yml
vendored
10
.github/workflows/develop.deploy-functions.yml
vendored
@ -67,3 +67,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
service: ${{vars.APP_NAME}}
|
service: ${{vars.APP_NAME}}
|
||||||
image: 'gcr.io/${{ vars.PROJECT_ID }}/${{ vars.DOCKER_IMAGE_NAME }}:latest'
|
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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user