Skip to content

Commit

Permalink
Merge pull request #515 from DefangLabs/lio-update-win-link
Browse files Browse the repository at this point in the history
update windows short link post release
  • Loading branch information
lionello authored Jun 28, 2024
2 parents f51e89a + bb1a191 commit e7ff07b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,19 @@ jobs:
working-directory: ./pkgs/npm

steps:
- name: Update Windows s.defang.io/defang_win_amd64.zip short link
run: |
curl --request POST \
--url https://api.short.io/links/$DEFANG_WIN_AMD64_LNK \
--header "Authorization: $SHORTIO_PK" \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data "{\"originalURL\":\"https://github.com/DefangLabs/defang/releases/download/${TAG}/defang_${TAG#v}_windows_amd64.zip\"}"
env:
SHORTIO_PK: ${{ secrets.SHORTIO_PK }}
TAG: ${{ github.ref_name }}
DEFANG_WIN_AMD64_LNK: "lnk_4vSQ_CDukZ5POEE4o0mMDysr2U"

- name: Trigger CLI Autodoc
uses: peter-evans/repository-dispatch@v3
with:
Expand Down

0 comments on commit e7ff07b

Please sign in to comment.