Skip to content

Commit

Permalink
ci: add deployment status for automatic dev-app deployments
Browse files Browse the repository at this point in the history
This will make it easier to discover the URL for the dev-app
deployment.
  • Loading branch information
devversion committed Nov 3, 2023
1 parent ff67a41 commit 72b7121
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy-dev-app-main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches: [main]

permissions: {}
permissions:
deployments: write

env:
PREVIEW_PROJECT: ng-dev-previews
Expand Down Expand Up @@ -48,3 +49,11 @@ jobs:
- name: Result
run: |
echo "Deployed to: ${{steps.deploy.outputs.details_url}}"
- name: Deployment Status
uses: zattoo/deploy-status@c8a0267e54a90ea07765fa88f7c7c35171859eec # v1
with:
token: '${{github.token}}'
environment: 'dev'
environment_url: '${{steps.deploy.outputs.details_url}}'
state: success

0 comments on commit 72b7121

Please sign in to comment.