VitePress blog for www.tintamarre.be.
- Node.js 20 or newer
- npm
Install dependencies with:
make installmake devThis starts VitePress at http://localhost:5173/.
make buildPreview the production build locally with:
make previewDeployment is handled by .github/workflows/deploy-docs.yml.
The workflow runs automatically on every push to master:
- Checks out the repository.
- Installs dependencies with
npm ci. - Builds the site with
npm run build. - Adds
src/.vitepress/dist/.nojekyll. - Copies the root
CNAMEfile into the generated site. - Publishes
src/.vitepress/distto thegh-pagesbranch.
For GitHub Pages, the repository should be configured to serve from the gh-pages branch. The custom domain is stored in CNAME and copied during deployment.
To create the same deployable artifact locally:
make deploymake help
make install
make dev
make build
make preview
make deploy
make deploy-build
make clean