-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (35 loc) · 936 Bytes
/
docu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Documentation
on:
push:
branches:
- main
paths-ignore:
- 'src/**'
pull_request:
branches:
- main
paths-ignore:
- 'src/**'
jobs:
deploy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: latest
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22.1.0"
cache: 'pnpm'
- run: cd docu && pnpm install && pnpm exec playwright install
- run: cd docu/scripts/images && pnpm i && pnpm exec playwright install
- run: cd docu && pnpm build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docu/src/.vitepress/dist
cname: docu.xn--rseau-constellation-bzb.ca