File tree Expand file tree Collapse file tree 6 files changed +27
-19
lines changed Expand file tree Collapse file tree 6 files changed +27
-19
lines changed Original file line number Diff line number Diff line change
1
+ # Generate and publish source documentation
2
+ name : Documentation
3
+ on : push
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Set up 0install
10
+ run : sudo apt-get update && sudo apt-get install -y --no-install-recommends 0install-core
11
+ - name : Clone repo
12
+ uses : actions/checkout@v2
13
+ - name : Build documentation
14
+ run : doc/build.sh
15
+ - name : Upload documentation
16
+ uses : actions/upload-artifact@v1
17
+ with :
18
+ name : Documentation
19
+ path : target/doc
20
+ - name : Publish documentation
21
+ uses : peaceiris/actions-gh-pages@v3
22
+ if : startsWith(github.event.ref, 'refs/tags')
23
+ with :
24
+ github_token : ${{ secrets.GITHUB_TOKEN }}
25
+ force_orphan : true
26
+ publish_dir : target/doc
27
+ cname : java.typedrest.net
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ mkdir ..\target\doc | Out-Null
15
15
0install run -- batch https:// apps.0install.net/ devel/ doxygen.xml
16
16
if ($LASTEXITCODE -ne 0 ) {throw " Exit Code: $LASTEXITCODE " }
17
17
18
- cp .nojekyll, CNAME ..\target\doc\
19
-
20
18
popd
Original file line number Diff line number Diff line change @@ -6,5 +6,3 @@ rm -rf ../target/doc
6
6
mkdir -p ../target/doc
7
7
8
8
0install run https://apps.0install.net/devel/doxygen.xml
9
-
10
- cp .nojekyll CNAME ../target/doc/
You can’t perform that action at this time.
0 commit comments