From da610ee79b84d050a6251ed7158ec974537a36c1 Mon Sep 17 00:00:00 2001 From: Marco Otte-Witte Date: Fri, 8 Nov 2024 14:50:09 +0100 Subject: [PATCH] run Gravity on online PDF --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55fb911..1b47a48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,6 +146,22 @@ 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: 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: runs-on: ubuntu-latest steps: