Docs Site Deployment
The documentation site source lives in docs.agentwerke.de/. It builds to static files and is designed for GitHub Pages.
Local commands
cd docs.agentwerke.de
npm ci
npm run dev
npm run build
npm run previewGitHub Pages workflow
The workflow at .github/workflows/docs-pages.yml:
- Runs on changes to
docs.agentwerke.de/**and the workflow file. - Installs docs dependencies with
npm ci. - Builds the site with
npm run build. - Uploads
docs.agentwerke.de/.vitepress/dist. - Deploys the artifact to GitHub Pages on non-pull-request events.
Pull requests build the docs but do not deploy them.
Repository settings
In GitHub repository settings:
- Open Pages.
- Set Build and deployment source to GitHub Actions.
- Configure the custom domain as
docs.agentwerke.de. - Enable HTTPS when GitHub allows it.
GitHub's Pages settings or API must own the custom domain setting. A CNAME file in the artifact is useful documentation, but for an Actions-backed Pages deployment it does not by itself configure the repository custom domain.
DNS
For the docs.agentwerke.de subdomain, create a DNS CNAME record that points to the GitHub Pages default domain for the organization or user, normally:
isartor-ai.github.ioDo not include the repository name in the DNS target.
DNS changes can take time to propagate. Verify the record before enabling production links.
Build output
VitePress writes generated files to:
docs.agentwerke.de/.vitepress/distThat directory is ignored by git and should not be committed.
Release checklist
npm cipasses indocs.agentwerke.de.npm run buildpasses with no broken internal links.- Local preview loads home, manual, admin, developer, and reference pages.
- GitHub repository Pages source is GitHub Actions.
- Custom domain is configured in repository settings.
- DNS points
docs.agentwerke.deto the GitHub Pages default domain. - HTTPS is enforced after the certificate is available.