File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Docs
2
+ on :
3
+ push
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - uses : coursier/cache-action@v6
11
+ - uses : actions/setup-java@v3
12
+ with :
13
+ distribution : ' temurin'
14
+ java-version : 17
15
+ - name : Build docs
16
+ run : ./mill core.docJar
17
+ - name : Bundle docs
18
+ run : tar cf github_pages.tar.gz out/core/docJar.dest/javadoc
19
+ - name : Upload GitHub Pages artifact
20
+ uses : actions/upload-pages-artifact@v1.0.4
21
+ with :
22
+ path : .
23
+ deploy :
24
+ needs : build
25
+ permissions :
26
+ pages : write
27
+ id-token : write
28
+ environment :
29
+ name : github-pages
30
+ url : ${{ steps.deployment.outputs.page_url }}
31
+
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - name : Deploy to GitHub Pages
35
+ id : deployment
36
+ uses : actions/deploy-pages@v1.2.2
37
+
You can’t perform that action at this time.
0 commit comments