File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed
Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,26 @@ jobs:
5353 runs-on : ubuntu-latest
5454 permissions :
5555 contents : write
56+ pages : write
57+ id-token : write
58+
59+ environment :
60+ name : github-pages
61+ url : ${{ steps.deployment.outputs.page_url }}
5662 steps :
5763 - uses : actions/checkout@v4
58- - uses : ./.github/actions/setup-node-env
59- - run : npm ci
60- - run : npm run doc
61- - name : Deploy to GitHub Pages
62- uses : peaceiris/actions-gh-pages@v4
64+
65+ - name : Setup Node Environment
66+ run : npm ci
67+
68+ - name : Generate Documentation
69+ run : npm run doc
70+
71+ - name : Upload documentation artifact
72+ uses : actions/upload-pages-artifact@v3
6373 with :
64- github_token : ${{ secrets.GITHUB_TOKEN }}
65- publish_dir : ./doc
74+ path : ./doc
75+
76+ - name : Deploy to GitHub Pages
77+ id : deployment
78+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments