Merge pull request #120 from CCPBioSim/version-updates #89
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: pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: checkout | |
| uses: actions/[email protected] | |
| - name: setup python | |
| uses: actions/[email protected] | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: | | |
| pip install sphinx sphinx_rtd_theme sphinxcontrib-contentui sphinxcontrib-details-directive sphinx_copybutton furo myst_parser | |
| - name: Sphinx build | |
| run: | | |
| cd pages | |
| make | |
| cp ../workshop.json build/html | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/[email protected] | |
| with: | |
| publish_branch: gh-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: pages/build/html | |
| force_orphan: true |