Repository navigation
Fix the site deployment - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deploy failed in run 44943571573 before the site was built.
jenkey2011/vuepress-deploybuilds a Docker image onnode:lts-bullseye-slimand runsapt-get install git jqin it. Debian 11 security packages are no longer ondeb.debian.org, so every package fails with 404.Changes
.github/workflows/vuepress-deploy.yml: build withactions/checkout,actions/setup-node(Node 20),npm ciandnpm run build. Then deploydocs/.vuepress/disttogh-pageswithpeaceiris/actions-gh-pagesand the built-inGITHUB_TOKEN(contents: write), so theACCESS_TOKENsecret is no longer needed.NODE_OPTIONS=--openssl-legacy-provider, because VuePress 1 uses webpack 4.main(or a manual run onmain) deploys it.package-lock.json: add the 21 optional platform packages that were missing (fsevents,esbuild-*), sonpm ciaccepts the lock file. No version changes. The old workflow usedyarn, but the repository has noyarn.lock.Tests
npm ciandnpm run buildrun on Node 20 locally. The build job of this pull request runs the same steps.