File tree Expand file tree Collapse file tree 1 file changed +25
-7
lines changed
Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ # Allow one concurrent deployment
15+ concurrency :
16+ group : pages
17+ cancel-in-progress : true
18+
819jobs :
9- deploy-docs :
20+ deploy :
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
1024 runs-on : ubuntu-latest
1125 steps :
12- - uses : actions/checkout@v3
26+ - name : Checkout
27+ uses : actions/checkout@v3
1328 - uses : actions/setup-node@v3
1429 - name : Install And Build
1530 run : |+
1631 yarn install
1732 yarn build
1833 export NODE_OPTIONS="--max-old-space-size=8192"
1934 yarn docs:build
20- - name : Deploy
21- uses : peaceiris/actions-gh-pages@v3
35+ - name : Setup Pages
36+ uses : actions/configure-pages@v1
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v1
2239 with :
23- github_token : ${{ secrets.GITHUB_TOKEN }}
24- publish_dir : ./build
25- force_orphan : true
40+ path : ./build
41+ - name : Deploy to GitHub Pages
42+ id : deployment
43+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments