File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish docs
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ tags : ' *'
7+
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+ deploy :
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v4
27+ with :
28+ filter : tree:0
29+ fetch-depth : 0
30+
31+ - name : Setup Pages
32+ uses : actions/configure-pages@v5
33+
34+ - uses : ./.github/actions/install-dependencies
35+ name : Install dependencies
36+
37+ - run : pnpm exec nx run-many -t build --projects=tag:lib
38+
39+ - name : Build docs
40+ run : pnpm ci:docs
41+
42+ - name : Upload artifact
43+ uses : actions/upload-pages-artifact@v3
44+ with :
45+ path : ' docs/'
46+
47+ - name : Deploy to GitHub Pages
48+ id : deployment
49+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments