Skip to content
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

Add example workflow for vuejs/vitepress #305

Closed
jrappen opened this issue May 17, 2020 · 11 comments
Closed

Add example workflow for vuejs/vitepress #305

jrappen opened this issue May 17, 2020 · 11 comments
Assignees
Labels
enhancement New feature or request proposal

Comments

@jrappen
Copy link

jrappen commented May 17, 2020

FYI, there is early work on:

which uses:

and looks to be meant as a replacement for vuepress.

@peaceiris
Copy link
Owner

peaceiris commented May 18, 2020

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 peaceiris added the enhancement New feature or request label May 18, 2020
@jrappen
Copy link
Author

jrappen commented May 18, 2020

On a vuepress related note, I also stumbled upon:

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

which looks to be a community redo.

@peaceiris
Copy link
Owner

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 peaceiris changed the title Support vuejs/vitepress Add example workflow for vuejs/vitepress Jul 10, 2020
@peaceiris
Copy link
Owner

@jrappen
Copy link
Author

jrappen commented Dec 13, 2020

As of today, 2020-12-14:

@jrappen
Copy link
Author

jrappen commented Jun 12, 2022

As of 2022-06-01:

  • vitepress is in v1.0.0-alpha.1

@jrappen
Copy link
Author

jrappen commented Jan 26, 2023

As of today, 2023-01-23:


Warning

the vuepress devs messed up the npm releases

vuepress/core#1195

@Eadela
Copy link

Eadela commented Apr 15, 2023

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"

@peaceiris
Copy link
Owner

peaceiris commented Apr 16, 2023

@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
Copy link

Eadela commented Apr 18, 2023

@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
Copy link
Author

jrappen commented Jun 5, 2023

@peaceiris vitepress is now in beta.

@jrappen jrappen closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

3 participants