File tree Expand file tree Collapse file tree 6 files changed +222
-442
lines changed Expand file tree Collapse file tree 6 files changed +222
-442
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy typedoc to Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions : read-all
10+
11+ concurrency :
12+ group : pages
13+ cancel-in-progress : true
14+
15+ jobs :
16+ deploy :
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
20+ permissions :
21+ contents : read
22+ pages : write
23+ id-token : write
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout tree
27+ uses : actions/checkout@v4
28+
29+ - name : Set-up Node.js
30+ uses : actions/setup-node@v4
31+ with :
32+ check-latest : true
33+ node-version-file : .nvmrc
34+
35+ - run : corepack enable
36+
37+ - run : yarn install --immutable
38+
39+ - run : yarn typedoc
40+
41+ - name : Set-up Pages
42+ uses : actions/configure-pages@v5
43+
44+ - name : Upload artifact
45+ uses : actions/upload-pages-artifact@v3
46+ with :
47+ path : docs
48+
49+ - name : Deploy odoc to GitHub Pages
50+ uses : actions/deploy-pages@v4
51+ id : deployment
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ permissions: read-all
1212jobs :
1313 release :
1414 if : ${{ github.repository_owner == 'acacode' }}
15- runs-on : ubuntu-latest
1615 permissions :
1716 contents : write # to create release
1817 issues : write # to post issue comments
1918 pull-requests : write # to create pull request
19+ runs-on : ubuntu-latest
2020 steps :
2121 - name : Checkout tree
2222 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11/.yarn /
22/dist /
3+ /docs /
34/node_modules /
You can’t perform that action at this time.
0 commit comments