File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55jobs :
66 publish-docs :
77 runs-on : ubuntu-latest
8+ permissions :
9+ pages : write
10+ id-token : write
11+ contents : read
12+ environment :
13+ name : github-pages
14+ url : ${{ steps.deployment.outputs.page_url }}
815 steps :
916 - uses : actions/checkout@v4
1017 with :
@@ -16,15 +23,15 @@ jobs:
1623 distribution : ' adopt'
1724 - name : Generate Javadoc
1825 run : javadoc @.javadoc || true
19- - name : Deploy GitHub Pages
20- uses : JamesIves/github-pages-deploy-action@4.1.5
26+ - name : Setup Pages
27+ uses : actions/configure-pages@v5
28+ - name : Upload artifact
29+ uses : actions/upload-pages-artifact@v4
2130 with :
22- token : ${{ secrets.GITHUB_TOKEN }}
23- branch : gh-pages
24- clean : true
25- folder : doc
26- target-folder : api
27- dry-run : false
31+ path : doc
32+ - name : Deploy to GitHub Pages
33+ id : deployment
34+ uses : actions/deploy-pages@v4
2835 release :
2936 runs-on : ubuntu-latest
3037 outputs :
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ on: workflow_dispatch
77jobs :
88 publish-docs :
99 runs-on : ubuntu-latest
10+ permissions :
11+ pages : write
12+ id-token : write
13+ contents : read
14+ environment :
15+ name : github-pages
16+ url : ${{ steps.deployment.outputs.page_url }}
1017 steps :
1118 - uses : actions/checkout@v4
1219 with :
@@ -18,12 +25,12 @@ jobs:
1825 distribution : ' adopt'
1926 - name : Generate Javadoc
2027 run : javadoc @.javadoc || true
21- - name : Deploy GitHub Pages
22- uses : JamesIves/github-pages-deploy-action@4.1.5
28+ - name : Setup Pages
29+ uses : actions/configure-pages@v5
30+ - name : Upload artifact
31+ uses : actions/upload-pages-artifact@v4
2332 with :
24- token : ${{ secrets.GITHUB_TOKEN }}
25- branch : gh-pages
26- clean : true
27- folder : doc
28- target-folder : api
29- dry-run : false
33+ path : doc
34+ - name : Deploy to GitHub Pages
35+ id : deployment
36+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments