Skip to content

Commit 4194ee9

Browse files
authored
Merge pull request #208 from mainmatter/gravity
run Gravity on online PDF
2 parents f1a0eab + 9f5e4a0 commit 4194ee9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,23 @@ 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: online-pdf
157+
- uses: pnpm/action-setup@v4
158+
with:
159+
version: 9
160+
- run: ls -las ./book
161+
- name: Run Gravity
162+
run: pnpm dlx @gravityci/cli "./book/**/*"
163+
env:
164+
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}
165+
149166
formatter:
150167
runs-on: ubuntu-latest
151168
steps:

0 commit comments

Comments
 (0)