run Gravity on online PDF

This commit is contained in:
Marco Otte-Witte 2024-11-08 14:50:09 +01:00
parent a53e4f86a1
commit da610ee79b
No known key found for this signature in database

View file

@ -146,6 +146,22 @@ jobs:
- run: |
git diff --exit-code site/_redirects
gravity:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/download-artifact@v4
with:
path: book
pattern: book/book/pandoc/paperback/100-exercises-to-learn-rust.pdf
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Run Gravity
run: pnpm dlx @gravityci/cli "/book/**/*"
env:
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}
formatter:
runs-on: ubuntu-latest
steps: