I tried to use https://github.com/unacast/actions-github-deployment-stat, but it’s Docker action, and I use MacOS and Windows for my Electron app builds.
Is there JS action for updating GitHub check status?
I tried to use https://github.com/unacast/actions-github-deployment-stat, but it’s Docker action, and I use MacOS and Windows for my Electron app builds.
Is there JS action for updating GitHub check status?
Firstly, I believe that the link you’ve posted is invalid and should be this link: https://github.com/unacast/actions-github-deployment-status
Secondly, what’s wrong with using a Docker action for this? It’s the same syntax as a normal GitHub Action and there’s even an example at the bottom of the README file of the GitHub Action:
- name: update deploy status
if: always()
uses: unacast/actions-github-deployment-status@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
You can use js action ‘deliverybot/deployment-status’. Verified it works to set the deployment status as well.
- name: 'deployment success'
if: always()
uses: 'deliverybot/deployment-status@v1'
with:
state: 'success'
token: ${{ secrets.GITHUB_TOKEN }}