Improve the Doxygen Workflow

* Use official build environment Docker image
* Update documentation and Doxygen website URLs
This commit is contained in:
John Freeman
2020-04-07 20:47:40 -05:00
committed by Nik Bougalis
parent 6477bdf3e8
commit 858e93c7f8
4 changed files with 50 additions and 65 deletions

View File

@@ -7,17 +7,19 @@ on:
jobs:
job:
runs-on: ubuntu-18.04
container:
image: docker://rippleci/rippled-ci-builder:2944b78d22db
steps:
- name: checkout
uses: actions/checkout@v2
- name: set OUTPUT_DIRECTORY
run: echo 'OUTPUT_DIRECTORY = html' >> docs/Doxyfile
- name: build
uses: mattnotmitt/doxygen-action@v1
with:
doxyfile-path: 'docs/Doxyfile'
run: |
mkdir build
cd build
cmake -DBoost_NO_BOOST_CMAKE=ON ..
cmake --build . --target docs --parallel $(nproc)
- name: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html
publish_dir: build/docs/html