Merge pull request #208 from mainmatter/gravity

run Gravity on online PDF
This commit is contained in:
Marco Otte-Witte 2024-11-12 12:50:23 +01:00 committed by GitHub
commit 4194ee9998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,6 +146,23 @@ 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: online-pdf
- uses: pnpm/action-setup@v4
with:
version: 9
- run: ls -las ./book
- name: Run Gravity
run: pnpm dlx @gravityci/cli "./book/**/*"
env:
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}
formatter:
runs-on: ubuntu-latest
steps: