actions-gh-pages icon indicating copy to clipboard operation
actions-gh-pages copied to clipboard

Add example workflow for vuejs/vitepress

Open jrappen opened this issue 4 years ago • 11 comments

FYI, there is early work on:

which uses:

and looks to be meant as a replacement for vuepress.

jrappen avatar May 17 '20 21:05 jrappen

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.

peaceiris avatar May 18 '20 08:05 peaceiris

On a vuepress related note, I also stumbled upon:

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

which looks to be a community redo.

jrappen avatar May 18 '20 12:05 jrappen

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 avatar May 18 '20 12:05 peaceiris

As of today, 2020-12-14:

jrappen avatar Dec 13 '20 23:12 jrappen

As of 2022-06-01:

  • vitepress is in v1.0.0-alpha.1

jrappen avatar Jun 12 '22 22:06 jrappen

As of today, 2023-01-23:


Warning

the vuepress devs messed up the npm releases

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

jrappen avatar Jan 26 '23 09:01 jrappen

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 avatar Apr 15 '23 08:04 Eadela

@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

peaceiris avatar Apr 16 '23 06:04 peaceiris

@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

Eadela avatar Apr 18 '23 02:04 Eadela

@peaceiris vitepress is now in beta.

jrappen avatar Jun 05 '23 08:06 jrappen