Refactor H12 and H1X (#503) #7
This file contains 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@v3 | |
- name: Set up Python 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install poetry | |
run: pipx install poetry==1.7.1 | |
- name: Eyeball native environment 👀 | |
run: python --version ; pip --version ; poetry --version ; pwd ; ls -la | |
- name: Install package dependencies 📜 | |
run: poetry install | |
- name: Build HTML 🏗️ | |
run: poetry run sphinx-build -b html docs/source docs/build/html | |
- name: Deploy HTML to GitHub Pages 🚀 | |
uses: peaceiris/[email protected] | |
with: | |
publish_branch: gh-pages | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html | |
destination_dir: latest |