Skip to content

Commit

Permalink
FEAT: Deployment status (#24)
Browse files Browse the repository at this point in the history
* deploy: Updates deploy workflow to create a GH deployment status in the repo

* chore: Removes .vscode, because it was just using defaults

* chore: Bumps octokit request action to 2.3.1
  • Loading branch information
Lissy93 authored Jun 9, 2024
1 parent d77750e commit 5509951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Update GitHub Deployment Status to Success ✅
if: success()
uses: octokit/request-action@v2
uses: octokit/request-action@v2.3.1
with:
route: POST /repos/${{ github.repository }}/deployments/${{ steps.create_deployment.outputs.deployment_id }}/statuses
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Update GitHub Deployment Status to Failure 🚫
if: failure()
uses: octokit/request-action@v2
uses: octokit/request-action@v2.3.1
with:
route: POST /repos/${{ github.repository }}/deployments/${{ steps.create_deployment.outputs.deployment_id }}/statuses
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5509951

Please sign in to comment.