Drop Python 3.7 (#701) #398
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: Documentation | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
- run: pipx run nox -s docs | |
- uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./build/docs/ | |
- run: npm install @percy/cli | |
- run: npx percy snapshot ./build/docs/ | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- id: deployment | |
uses: actions/deploy-pages@v1 |