Release OpenCOR 0.8.2. #82
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: cd | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| cd: | |
| name: OpenCOR's documentation | |
| if: ${{ github.event.head_commit.message == 'New snapshot.' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out OpenCOR | |
| uses: actions/checkout@v2 | |
| with: | |
| repository: opencor/opencor | |
| - name: Install CMake and Ninja | |
| uses: lukka/get-cmake@latest | |
| - name: Install Sphinx | |
| run: pip3 install Sphinx sphinx_copybutton sphinx_inline_tabs | |
| - name: Generate OpenCOR's documentation | |
| run: ./cd | |
| - name: Deploy OpenCOR's documentation | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| personal_token: ${{ secrets.GH_PAT }} | |
| external_repository: opencor/opencor.github.io | |
| publish_branch: master | |
| publish_dir: build/doc/html |