mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve the Doxygen Workflow
* Use official build environment Docker image * Update documentation and Doxygen website URLs
This commit is contained in:
committed by
Nik Bougalis
parent
6477bdf3e8
commit
858e93c7f8
14
.github/workflows/doxygen.yml
vendored
14
.github/workflows/doxygen.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user