File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
15150install run -- batch https:// apps.0install.net/ devel/ doxygen.xml
1616if ($LASTEXITCODE -ne 0 ) {throw " Exit Code: $LASTEXITCODE " }
1717
18- cp .nojekyll, CNAME ..\target\doc\
19-
2018popd
Original file line number Diff line number Diff line change @@ -6,5 +6,3 @@ rm -rf ../target/doc
66mkdir -p ../target/doc
77
880install 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