actions-gh-pages
actions-gh-pages copied to clipboard
Add example workflow for vuejs/vitepress
FYI, there is early work on:
which uses:
and looks to be meant as a replacement for vuepress
.
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.
On a vuepress related note, I also stumbled upon:
https://github.com/vuepress/vuepress-next
which looks to be a community redo.
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.
As of 2022-06-01:
-
vitepress
is inv1.0.0-alpha.1
As of today, 2023-01-23:
-
vitepress
is currently atv1.0.0-alpha.40
. -
vuepress-next
is currently atv2.0.0-beta.60
.
Warning
the vuepress devs messed up the npm releases
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 - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUBTOKEN }} publish_dir: docs/.vitepress/dist
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"
@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 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
@peaceiris vitepress
is now in beta.