fix: serve latest.json via GitHub Pages for auto-updater endpoint

This commit is contained in:
Test
2026-02-28 19:39:28 +01:00
parent f52ce5c618
commit 5ef4f2d642
2 changed files with 3 additions and 1 deletions

View File

@@ -202,6 +202,8 @@ jobs:
run: |
mkdir -p _site
gh api repos/${{ github.repository }}/releases --paginate > _site/releases.json
# Copy latest.json to GitHub Pages for auto-updater endpoint
gh release download --repo ${{ github.repository }} --pattern "latest.json" --output _site/latest.json || true
cat > _site/index.html << 'HTMLEOF'
<!DOCTYPE html>
<html lang="en">