File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Doc Builder
2+ on :
3+ release :
4+ types : [published]
5+ permissions :
6+ pages : write
7+ id-token : write
8+ jobs :
9+ build :
10+ name : Doc Builder
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Use Node ${{ matrix.node }}
15+ uses : actions/setup-node@v3
16+ with :
17+ node-version : ${{ matrix.node }}
18+ - name : Install Node dependencies
19+ run : yarn --frozen-lockfile
20+ - name : Build
21+ run : yarn build
22+ - name : Build docs
23+ run : yarn build-docs
24+ - name : Upload docs
25+ uses : actions/upload-pages-artifact@v2
26+ with :
27+ path : docs
28+ deploy :
29+ environment :
30+ name : github-pages
31+ url : ${{ steps.deployment.outputs.page_url }}
32+ needs : build
33+ runs-on : ubuntu-latest
34+ name : Deploy docs
35+ steps :
36+ - name : Deploy
37+ id : deployment
38+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments