1
0
Fork 0
mirror of https://github.com/fjogeleit/http-request-action.git synced 2024-12-23 04:37:28 +00:00

Merge pull request #18 from Hoopless/master

Changes to basic Example
This commit is contained in:
Frank Jogeleit 2021-01-20 10:44:46 +01:00 committed by GitHub
commit de202bb090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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