fixing bug when creating stack using on-the-fly task #290
This file contains hidden or 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: Doc build | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Doxygen:Install | |
| run: sudo apt-get install -y libboost-all-dev libeigen3-dev doxygen | |
| - name: Doxygen:CheckOut | |
| uses: actions/checkout@v3 | |
| - name: Doxygen:cmake | |
| continue-on-error: true | |
| run: | | |
| mkdir build && cd build && cmake .. | |
| - name: Doxygen:Compile | |
| run: | | |
| cd build/doc/ && doxygen && mv xml ../../docs/ | |
| - name: Sphinx:BuildHTML | |
| uses: ammaraskar/sphinx-action@master | |
| - name: Sphinx:UploadArtifacts | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: html-docs | |
| path: docs/build/html/ | |
| - name: Sphinx:Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| if: github.ref == 'refs/heads/4.0-devel' | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/build/html |