Skip to content

Commit

Permalink
Setup uploads to Percy
Browse files Browse the repository at this point in the history
This should make it possible to see how the existing documentation
changes on each push.
  • Loading branch information
pradyunsg committed Jul 2, 2023
1 parent 27bf2c0 commit 834e951
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-docs.yml
Expand Up @@ -9,11 +9,20 @@ jobs:
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:
Expand Down

0 comments on commit 834e951

Please sign in to comment.