mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-12-29 05:14:52 -05:00
Update README.md
This commit is contained in:
parent
f91c5933c4
commit
eff73a48f7
1 changed files with 10 additions and 8 deletions
18
README.md
18
README.md
|
@ -5,14 +5,16 @@ Create any kind of HTTP Requests in your GitHub actions to trigger Tools like An
|
|||
Example Usage:
|
||||
```
|
||||
jobs:
|
||||
deployment
|
||||
- name: Deploy Stage
|
||||
uses: fjogeleit/http-request-action@master
|
||||
with:
|
||||
url: 'https://ansible.io/api/v2/job_templates/84/launch/'
|
||||
method: 'POST'
|
||||
username: ${{ secrets.AWX_USER }}
|
||||
password: ${{ secrets.AWX_PASSWORD }}
|
||||
deployment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy Stage
|
||||
uses: fjogeleit/http-request-action@master
|
||||
with:
|
||||
url: 'https://ansible.io/api/v2/job_templates/84/launch/'
|
||||
method: 'POST'
|
||||
username: ${{ secrets.AWX_USER }}
|
||||
password: ${{ secrets.AWX_PASSWORD }}
|
||||
```
|
||||
|
||||
### Input Arguments
|
||||
|
|
Loading…
Reference in a new issue