Skip to content

Commit da610ee

Browse files
committed
run Gravity on online PDF
1 parent a53e4f8 commit da610ee

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,22 @@ jobs:
146146
- run: |
147147
git diff --exit-code site/_redirects
148148
149+
gravity:
150+
runs-on: ubuntu-latest
151+
needs: [build]
152+
steps:
153+
- uses: actions/download-artifact@v4
154+
with:
155+
path: book
156+
pattern: book/book/pandoc/paperback/100-exercises-to-learn-rust.pdf
157+
- uses: pnpm/action-setup@v4
158+
with:
159+
version: 9
160+
- name: Run Gravity
161+
run: pnpm dlx @gravityci/cli "/book/**/*"
162+
env:
163+
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}
164+
149165
formatter:
150166
runs-on: ubuntu-latest
151167
steps:

0 commit comments

Comments
 (0)