Merge pull request #138 from Bobini1/develop #397
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
documentation: | |
name: "Regenerate and publish Documentation" | |
runs-on: ubuntu-latest | |
env: | |
NAME: Documentation | |
steps: | |
- name: Checkout Documentation | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Force cmake version to older than runner's | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.22.2' | |
- name: Regenerate Documentation | |
shell: bash | |
run: | | |
sudo apt-get install -y doxygen graphviz | |
ctest -S .docs.cmake -V | |
- name: Publish Documentation | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: doc/html | |
CLEAN: true |