Merge pull request #107 from mohhsharaf/feature/add-angle-to-submodules #37
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: Update docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish_docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Create Build Environment | |
run: | | |
cmake -E make_directory ${{runner.workspace}}/build | |
sudo apt install graphviz doxygen | |
- name: Build docs | |
working-directory: ${{runner.workspace}}/build | |
shell: bash | |
run: | | |
cmake $GITHUB_WORKSPACE | |
cmake --build . --target doc | |
- name: Deploy to github pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ${{runner.workspace}}/build/doc/html |