Skip to content

Commit

Permalink
ci(docs): avoid caching notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Feb 25, 2025
1 parent 6913cd7 commit b226434
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ jobs:
done
} | tee /tmp/comment
- name: restore cache of the previously rendered notebooks
uses: actions/cache/restore@v4
with:
key: docs-${{ github.event.pull_request.base.sha }}
path: docs/**/.jupyter_cache

- name: build docs
run: nix develop '.#ibis312' --ignore-environment --keep HOME -c just docs-build-all

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/ibis-docs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,26 +60,12 @@ jobs:
with:
fetch-depth: 0

- name: restore cache of the previously rendered notebooks
uses: actions/cache/restore@v4
with:
# https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
# > The SHA of the most recent commit on ref before the push.
key: docs-${{ github.event.before }}
path: docs/**/.jupyter_cache

- name: build api docs
run: nix develop '.#ibis312' --ignore-environment -c just docs-apigen --verbose

- name: build docs
run: nix develop '.#ibis312' --ignore-environment --keep HOME -c just docs-render

- name: cache rendered notebooks
uses: actions/cache/save@v4
with:
key: docs-${{ github.sha }}
path: docs/**/.jupyter_cache

- name: build jupyterlite
run: nix develop '.#ibis312' --ignore-environment --keep HOME -c just build-jupyterlite

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ibis-docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: restore cache of the previously rendered notebooks
uses: actions/cache/restore@v4
with:
key: docs-${{ github.event.pull_request.base.sha }}
path: docs/**/.jupyter_cache

- name: generate api docs
run: nix develop '.#ibis312' --ignore-environment -c just docs-apigen --verbose

Expand Down

0 comments on commit b226434

Please sign in to comment.