Skip to content

Commit 9d56eec

Browse files
committed
Updated doxygen workflow to publish to the website repo
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent 519f0a7 commit 9d56eec

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/docs.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,25 @@ jobs:
4949
./ci/build.sh -v
5050
--build-type=Release
5151
--components="core,python,doc"
52-
--cargs=\"-DUSE_BLOSC=OFF -DOPENVDB_CORE_STATIC=OFF -DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON -DDISABLE_DEPENDENCY_VERSION_CHECKS=ON\"
52+
--cargs=\"
53+
-DUSE_BLOSC=OFF
54+
-DOPENVDB_CORE_STATIC=OFF
55+
-DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON
56+
-DUSE_EXPLICIT_INSTANTIATION=OFF
57+
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON
58+
\"
5359
- name: epydoc
5460
run: |
5561
epydoc --html -o /usr/local/share/doc/OpenVDB/html/python pyopenvdb
62+
- name: pre_deploy
63+
# Overwrite global SSH configuration
64+
# https://github.com/peaceiris/actions-gh-pages/issues/719
65+
# https://linuxhint.com/ssh-stricthostkeychecking/
66+
run: >
67+
echo "Host *
68+
StrictHostKeyChecking no
69+
UserKnownHostsFile=/dev/null
70+
" > /etc/ssh/ssh_config
5671
- name: deploy
5772
# only deploy documentation to gh-pages on a manual workflow dispatch
5873
if: |
@@ -61,5 +76,9 @@ jobs:
6176
github.event.inputs.deploy == 'true'
6277
uses: peaceiris/actions-gh-pages@v3
6378
with:
64-
github_token: ${{ secrets.GITHUB_TOKEN }}
79+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
6580
publish_dir: /usr/local/share/doc/OpenVDB/html
81+
destination_dir: documentation/doxygen
82+
external_repository: AcademySoftwareFoundation/openvdb-website
83+
publish_branch: doxygen
84+
commit_message: "doxygen documentation update"

0 commit comments

Comments
 (0)