File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docs
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths :
7+ - lua/rootbeer/**
8+ - docs/**
9+ - scripts/lua2md.ts
10+ - .vitepress/**
11+ - package.json
12+ - pnpm-lock.yaml
13+
14+ jobs :
15+ deploy :
16+ runs-on : ubuntu-latest
17+ permissions :
18+ pages : write
19+ id-token : write
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deploy.outputs.page_url }}
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+
27+ - name : Install mise
28+ uses : jdx/mise-action@v2
29+
30+ - name : Install dependencies
31+ run : pnpm install --frozen-lockfile
32+
33+ - name : Generate docs & build
34+ run : pnpm build
35+
36+ - name : Upload artifact
37+ uses : actions/upload-pages-artifact@v3
38+ with :
39+ path : .vitepress/dist
40+
41+ - name : Deploy to GitHub Pages
42+ id : deploy
43+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments