Skip to content

Commit be62a86

Browse files
authored
Update README.md
1 parent 273de4f commit be62a86

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
This Github actions adds functions for creating a status on the github deployment api.
44

5+
It is a small wrapper for your workflows to use the Github Deployment Status API https://developer.github.com/v3/repos/deployments/#create-a-deployment-status
6+
57
## Usage
68

79
For example use this at the end of your job like this:
810

911
```
10-
...
1112
- name: update deploy status
1213
if: always()
13-
uses: docker://unacast/actions-github-deployment-status
14+
uses: unacast/actions-github-deployment-status@master
1415
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16-
with:
17-
args: ${{ job.status }}
16+
github_token: ${{ secrets.GITHUB_TOKEN }}
17+
status: ${{ job.status }}
1818
```

0 commit comments

Comments
 (0)