peaceiris / actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
https://github.com/marketplace/actions/github-pages-action
MIT License
4.53k stars 361 forks source link

Add example workflow for vuejs/vitepress #305

Open jrappen opened 4 years ago

jrappen commented 4 years ago

FYI, there is early work on:

which uses:

and looks to be meant as a replacement for vuepress.

peaceiris commented 4 years ago

Wow! That is one of the interesting Vue.js's migration projects to TypeScript.

Thank you for notifying me.

I will watch those projects and add the VitePress to the next to the VuePress in the future. The deployment workflow is going to be the same as other Node.js projects.

jrappen commented 4 years ago

On a vuepress related note, I also stumbled upon:

https://github.com/vuepress/vuepress-next

which looks to be a community redo.

peaceiris commented 4 years ago

Hmm, vuepress will be also rewritten with TypeScript (vue-next) as vuepress-next. VitePress is another SSG with Vite, not a next VuePress. I understood it.

peaceiris commented 3 years ago

Release v3.0.0 One Piece · vuejs/vue-next

jrappen commented 3 years ago

As of today, 2020-12-14:

jrappen commented 2 years ago

As of 2022-06-01:

jrappen commented 1 year ago

As of today, 2023-01-23:


Warning

the vuepress devs messed up the npm releases

https://github.com/vuepress/vuepress-next/issues/1195

Eadela commented 1 year ago

Hope to do it as soon as possible.

I m poor English. encounter these two error, can not solve set token and secrets.GITHUBTOKEN , i thanks is ok. maybe ,i need to sign in 2FA

yml.file

error one: Push the commit or tag /usr/bin/git push origin gh-pages remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/Eadela/ci.git/' Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"

error two: /usr/bin/git push origin gh-pages remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for 'https://github.com/Eadela/ci.git/' Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"

peaceiris commented 1 year ago

@Eadela Please open a new issue. Your problem is not related to this issue.

${{ secrets.GITHUB_TOKEN }} is not a personal access token. we can just set GITHUB_TOKEN without any setup.

See more details here https://docs.github.com/en/actions/security-guides/automatic-token-authentication

Eadela commented 1 year ago

@Eadela Please open a new issue. Your problem is not related to this issue.

${{ secrets.GITHUB_TOKEN }} is not a personal access token. we can just set GITHUB_TOKEN without any setup.

See more details here https://docs.github.com/en/actions/security-guides/automatic-token-authentication

I finally find my token not have enough perimssions

jrappen commented 1 year ago

@peaceiris vitepress is now in beta.