-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNPM Deployment to GitHub Pages #1578
Comments
This is my npm yaml with updated versions of actions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current example deployment script generates warnings due to the actions using deprecated versions.
I also use
pnpm
locally, so an example of how to get started withpnpm
as well asnpm
would be nice.I'm not sure what the preset does in
npx nuxt build --preset github_pages
and if that's the same as the Nitro preset?My own static page could be deployed using
pnpm generate
with thisdeploy.yaml
script:I'm hesitant to update the docs with this example myself when I don't fully understand it all yet, but maybe this could be useful as a starter to someone with more knowledge then me (or future me).
I took some inspiration from the Vitepress example, which is why a couple of things have been moved or reformatted slightly.
Edit: remove
- run: corepack enable
as I don't think its necessary.The text was updated successfully, but these errors were encountered: