Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "Test"

# actions-up-ignore-file

on:
workflow_dispatch:
schedule:
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Pass data/headers/params as JSON or YAML formatted strings.

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post
method: 'POST'
Expand Down Expand Up @@ -162,7 +162,7 @@ Note: All outputs are run through `JSON.stringify` by default.
```yaml
- name: 'Web Request'
id: test
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post

Expand All @@ -181,7 +181,7 @@ Note: All outputs are run through `JSON.stringify` by default.

```yaml
- name: 'Portainer Webhook'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: ${{ secrets.PORTAINER_WEBHOOK }}
```
Expand All @@ -191,7 +191,7 @@ Note: All outputs are run through `JSON.stringify` by default.

```yaml
- name: 'Start Algolia Crawl'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://crawler.algolia.com/api/1/crawlers/${{ secrets.CRAWLER_ID }}/reindex
username: ${{ secrets.CRAWLER_USER_ID }}
Expand All @@ -203,7 +203,7 @@ Note: All outputs are run through `JSON.stringify` by default.

```yaml
- name: 'Render Deploy Image'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: ${{ secrets.RENDER_HOOK }}
params: |
Expand All @@ -215,7 +215,7 @@ Note: All outputs are run through `JSON.stringify` by default.

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/get
method: 'GET'
Expand All @@ -226,7 +226,7 @@ Note: All outputs are run through `JSON.stringify` by default.

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post
data: '{"key": "value"}'
Expand All @@ -243,7 +243,7 @@ Note: All data keys are identical as exemplar formats.

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post
file: path/to/file.txt
Expand All @@ -256,7 +256,7 @@ Note: All data keys are identical as exemplar formats.

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post
config: |
Expand All @@ -271,7 +271,7 @@ Reference: https://axios-http.com/docs/req_config

```yaml
- name: 'Web Request'
uses: cssnr/web-request-action@v1
uses: cssnr/web-request-action@v2
with:
url: https://httpbin.org/post
method: 'POST'
Expand Down
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading