Skip to content

Fix the site deployment - #2

Merged
leo-schick merged 1 commit into
mainfrom
claude/fix-deploy
Nov 21, 2026
Merged

leo-schick merged 1 commit into
mainfrom
claude/fix-deploy

Conversation

@leo-schick

Copy link
Copy Markdown
Member

The deploy failed in run 44943571573 before the site was built. jenkey2011/vuepress-deploy builds a Docker image on node:lts-bullseye-slim and runs apt-get install git jq in it. Debian 11 security packages are no longer on deb.debian.org, so every package fails with 404.

Changes

  • .github/workflows/vuepress-deploy.yml: build with actions/checkout, actions/setup-node (Node 20), npm ci and npm run build. Then deploy docs/.vuepress/dist to gh-pages with peaceiris/actions-gh-pages and the built-in GITHUB_TOKEN (contents: write), so the ACCESS_TOKEN secret is no longer needed.
    • The build sets NODE_OPTIONS=--openssl-legacy-provider, because VuePress 1 uses webpack 4.
    • Pull requests now build the site too; only a push to main (or a manual run on main) deploys it.
  • package-lock.json: add the 21 optional platform packages that were missing (fsevents, esbuild-*), so npm ci accepts the lock file. No version changes. The old workflow used yarn, but the repository has no yarn.lock.

Tests

npm ci and npm run build run on Node 20 locally. The build job of this pull request runs the same steps.

@leo-schick
leo-schick merged commit ed724ed into main Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant