Fix/deprecated boost leaf #172
Workflow file for this run
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 | |
| on: | |
| push: | |
| paths: | |
| - 'doc/**' | |
| - 'SEImplementation/python/**' | |
| pull_request: | |
| paths: | |
| - 'doc/**' | |
| - 'SEImplementation/python/**' | |
| jobs: | |
| ############# | |
| # Build doc # | |
| ############# | |
| build: | |
| name: Make HTML doc | |
| continue-on-error: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: pip3 install -r doc/requirements.txt | |
| - name: Build | |
| run: | | |
| cd doc | |
| make html | |
| - name: Set destination dir | |
| if: github.ref_name != 'master' | |
| run: | | |
| echo "DOC_DEST=${{ github.ref_name }}" >> $GITHUB_ENV | |
| - name: Deploy | |
| if: success() | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| publish_branch: doc-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: doc/build/html/ | |
| destination_dir: ${{ env.DOC_DEST }} | |