AppView in a box as a Vite plugin thing hatk.dev
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: add GitHub Pages deploy workflow for docs at hatk.dev

Deploys VitePress site on pushes to docs/site/** on main.
CNAME configured for hatk.dev custom domain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+42
+41
.github/workflows/deploy-docs.yml
··· 1 + name: Deploy docs 2 + 3 + on: 4 + push: 5 + branches: [main] 6 + paths: 7 + - 'docs/site/**' 8 + workflow_dispatch: 9 + 10 + permissions: 11 + contents: read 12 + pages: write 13 + id-token: write 14 + 15 + concurrency: 16 + group: pages 17 + cancel-in-progress: false 18 + 19 + jobs: 20 + build: 21 + runs-on: ubuntu-latest 22 + steps: 23 + - uses: actions/checkout@v4 24 + - uses: actions/setup-node@v4 25 + with: 26 + node-version: 22 27 + - run: npm ci 28 + - run: npx vitepress build docs/site 29 + - uses: actions/upload-pages-artifact@v3 30 + with: 31 + path: docs/site/.vitepress/dist 32 + 33 + deploy: 34 + needs: build 35 + runs-on: ubuntu-latest 36 + environment: 37 + name: github-pages 38 + url: ${{ steps.deployment.outputs.page_url }} 39 + steps: 40 + - id: deployment 41 + uses: actions/deploy-pages@v4
+1
docs/site/public/CNAME
··· 1 + hatk.dev