Merge pull request #975 from Tanisha127/standardise-biallelic-diploty… #2
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: latest_docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| latest_docs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out source 🛒 | |
| uses: actions/checkout@v4 | |
| - name: Setup python 🐍 | |
| uses: ./.github/actions/setup-python | |
| with: | |
| python-version: '3.12' | |
| - name: Eyeball native environment 👀 | |
| run: python --version ; pip --version ; poetry --version ; pwd ; ls -la | |
| - name: Build HTML 🏗️ | |
| run: poetry run sphinx-build -b html docs/source docs/build/html | |
| - name: Deploy HTML to GitHub Pages 🚀 | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| publish_branch: gh-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/build/html | |
| destination_dir: latest |