mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 19:01:51 -04:00
Update link in Action
This commit is contained in:
parent
ec381e9eb1
commit
3417da93e4
1 changed files with 6 additions and 0 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -68,3 +68,9 @@ jobs:
|
|||
run: |
|
||||
twine upload dist/*
|
||||
|
||||
- name: Update Link
|
||||
run: |
|
||||
URL=https://github.com/${ORG}/${NAME}/releases/download/v${VERSION}/${NAME_SHORT}.tapp
|
||||
DATA="{\"destination\": \"${URL}\"}"
|
||||
curl --request POST --url https://api.rebrandly.com/v1/links/${LINK_ID} --header 'accept: application/json' --header "apikey: ${REBRANDLY_API_KEY}" --header 'content-type: application/json' --data "$DATA" &> /dev/null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue