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 : |+
1934 yarn install
2035 yarn pre-build
2136 yarn build
22- - name : Deploy
23- uses : peaceiris/actions-gh-pages@v3
37+ - name : Setup Pages
38+ uses : actions/configure-pages@v1
39+ - name : Upload artifact
40+ uses : actions/upload-pages-artifact@v1
2441 with :
25- github_token : ${{ secrets.GITHUB_TOKEN }}
26- publish_dir : ./explorer-v2/build
27- force_orphan : true
42+ path : ./explorer-v2/build
43+ - name : Deploy to GitHub Pages
44+ id : deployment
45+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments