Skip to content

Commit

Permalink
uodate taskade test
Browse files Browse the repository at this point in the history
Use actionsflow/axios@v1 for this http call
  • Loading branch information
yyolk committed Nov 16, 2023
1 parent a5fc6da commit c4e7ed3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions workflows/test_pushover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@ jobs:
# with:
# packages: jo
# version: 1.0
- name: Axios Action POST
uses: actionsflow/axios@v1
with:
url: https://api.pushover.net/1/messages.json
method: POST
data: >-
{
"token": "${{ secrets. PUSHOVER_API_TOKEN }}",
"user": "${{ secrets.PUSHOVER_USER_KEY }}",
"title": "axios test placeholder title",
"message": "a <b>fake</b> message",
"html": 1,
"url": "https://example.com",
"url_title": "Read more...",
"sound": "climb"
}
- name: update curl version
run: |
sudo add-apt-repository ppa:savoury1/backports -y
Expand Down

0 comments on commit c4e7ed3

Please sign in to comment.