Skip to content

Commit

Permalink
Fix: Incorrect repo & property name in update-website-links.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 28, 2024
1 parent 301acad commit cb1ea16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-website-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
for url in $(gh release view latest --json assets --jq '.assets[].browser_download_url'); do
for url in $(gh release view latest --repo rime/rime-cantonese --json assets --jq '.assets[].url'); do
if [[ $url == *.exe ]]; then
sed -i "s|^VITE_DOWNLOAD_URL_WINDOWS=.*|VITE_DOWNLOAD_URL_WINDOWS=$url|" .env
elif [[ $url == *.pkg ]]; then
Expand Down

0 comments on commit cb1ea16

Please sign in to comment.