A minimal, ready-to-deploy VitePress site with GitHub Actions preconfigured for seamless deployment to GitHub Pages.
- ⚡️ Out-of-the-box VitePress setup
- 🚀 Continuous Deployment via GitHub Actions
- 🌐 Auto-publish to GitHub Pages
- 🛠️ Easy customization for docs, blogs, or personal sites
.
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions workflow for Pages
├── .vitepress/
│ └── config.ts # VitePress configuration
├── index.md # Home page
├── package.json
└── README.md
git clone https://github.com/MorganMarshall/vitepress-github-pages.git
cd vitepress-github-pages
npm install
npm run dev
Open http://localhost:5173 in your browser.
npm run build
Push changes to the main
branch. GitHub Actions will automatically build and publish your site to GitHub Pages.
Your site will be live at:
https://<username>.github.io/<repo>/
- Edit
.vitepress/config.ts
for site title, theme, and navigation. - Update
index.md
and add additional pages in the root folder. - GitHub Actions workflow is located at
.github/workflows/deploy.yml
.
MIT © https://github.com/MorganMarshall/LICENSE
Made with ❤️ using VitePress + GitHub Pages.