Skip to content

Commit 5a11a82

Browse files
committed
run Gravity on online PDF
1 parent b60e021 commit 5a11a82

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,19 @@ jobs:
146146
- run: |
147147
git diff --exit-code site/_redirects
148148
149+
gravity:
150+
runs-on: ubuntu-latest
151+
steps:
152+
- uses: actions/download-artifact@v4
153+
with:
154+
path: book
155+
pattern: book/book/pandoc/paperback/100-exercises-to-learn-rust.pdf
156+
- uses: pnpm/action-setup@v4
157+
- run: |
158+
- run: pnpm dlx gravityci ./book/
159+
env:
160+
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}
161+
149162
formatter:
150163
runs-on: ubuntu-latest
151164
steps:

0 commit comments

Comments
 (0)