Merge pull request #208 from mainmatter/gravity
run Gravity on online PDF
This commit is contained in:
commit
4194ee9998
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user