Skip to content

Commit 83e9c88

Browse files
authored
ci: add deployment status for automatic dev-app deployments (#28049)
This will make it easier to discover the URL for the dev-app deployment.
1 parent ff67a41 commit 83e9c88

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/deploy-dev-app-main-push.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches: [main]
66

7-
permissions: {}
7+
permissions:
8+
deployments: write
89

910
env:
1011
PREVIEW_PROJECT: ng-dev-previews
@@ -48,3 +49,11 @@ jobs:
4849
- name: Result
4950
run: |
5051
echo "Deployed to: ${{steps.deploy.outputs.details_url}}"
52+
53+
- name: Deployment Status
54+
uses: zattoo/deploy-status@c8a0267e54a90ea07765fa88f7c7c35171859eec # v1
55+
with:
56+
token: '${{github.token}}'
57+
environment: 'dev'
58+
environment_url: '${{steps.deploy.outputs.details_url}}'
59+
state: success

0 commit comments

Comments
 (0)