a reactive (signals based) hypermedia web framework (wip)
stormlightlabs.github.io/volt/
hypermedia
frontend
signals
1name: Deploy Documentation
2
3on:
4 push:
5 branches:
6 - main
7 paths:
8 - 'docs/**'
9 - '.github/workflows/deploy-docs.yml'
10 workflow_dispatch:
11
12permissions:
13 contents: read
14 pages: write
15 id-token: write
16
17concurrency:
18 group: pages
19 cancel-in-progress: false
20
21jobs:
22 build:
23 runs-on: ubuntu-latest
24 steps:
25 - name: Checkout
26 uses: actions/checkout@v4
27 with:
28 fetch-depth: 0
29
30 - name: Setup pnpm
31 uses: pnpm/action-setup@v4
32 with:
33 version: 9
34
35 - name: Setup Node.js
36 uses: actions/setup-node@v4
37 with:
38 node-version: '20'
39 cache: 'pnpm'
40
41 - name: Install dependencies
42 run: pnpm install --frozen-lockfile
43
44 - name: Build documentation
45 run: pnpm docs:build
46
47 - name: Upload artifact
48 uses: actions/upload-pages-artifact@v3
49 with:
50 path: docs/.vitepress/dist
51
52 deploy:
53 environment:
54 name: github-pages
55 url: ${{ steps.deployment.outputs.page_url }}
56 needs: build
57 runs-on: ubuntu-latest
58 steps:
59 - name: Deploy to GitHub Pages
60 id: deployment
61 uses: actions/deploy-pages@v4