run Gravity on online PDF
This commit is contained in:
parent
a53e4f86a1
commit
da610ee79b
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -146,6 +146,22 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
git diff --exit-code site/_redirects
|
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:
|
formatter:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user