mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2025-06-06 14:47:57 +08:00
commit
de202bb090
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:
|
Example Usage:
|
||||||
```
|
```
|
||||||
jobs:
|
jobs:
|
||||||
deployment
|
deployment:
|
||||||
- name: Deploy Stage
|
runs-on: ubuntu-latest
|
||||||
uses: fjogeleit/http-request-action@master
|
steps:
|
||||||
with:
|
- name: Deploy Stage
|
||||||
url: 'https://ansible.io/api/v2/job_templates/84/launch/'
|
uses: fjogeleit/http-request-action@master
|
||||||
method: 'POST'
|
with:
|
||||||
username: ${{ secrets.AWX_USER }}
|
url: 'https://ansible.io/api/v2/job_templates/84/launch/'
|
||||||
password: ${{ secrets.AWX_PASSWORD }}
|
method: 'POST'
|
||||||
|
username: ${{ secrets.AWX_USER }}
|
||||||
|
password: ${{ secrets.AWX_PASSWORD }}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Input Arguments
|
### Input Arguments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user