pypi: uses v4 checkout #12
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: Publish docs | |
"on": | |
push: | |
branches: | |
- "master" | |
permissions: | |
contents: write | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install and build | |
run: | | |
python -VV | |
python -m site | |
python -m pip install -U pip wheel setuptools | |
python -m pip install -e .[dev] | |
make html | |
- name: Publish | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: build/html |