Skip to content

ioiooi/notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes powered by VitePress

https://ioiooi.github.io/notes/

Dev

yarn docs:dev

VitePress will start a hot-reloading development server at http://localhost:5173.

Build and Test Locally

Run this command to build the docs:

yarn docs:build

Test the build with:

yarn docs:preview

🚀 Github Pages Deployment 🚀

Just copy/paste the official documentation

https://vitepress.dev/guide/deploy#github-pages

Commit on the main branch starts a GitHub Action which automatically deploys the app.

⚠️ GitHub Pages Repository Settings ⚠️

Go to the repository settings -> Code and automation > Pages

In the GitHub Pages Settings change the "Build and deployment" Source to "GitHub Actions" or else the deployment will fail. (See link)

Error: Creating Pages deployment failed
Error: HttpError: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from gh-pages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published