Skip to content

Commit 87529db

Browse files
committed
rebuild all pages without cache
1 parent d9ae183 commit 87529db

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

Diff for: .github/workflows/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
path: _build
3232
# NOTE: change key to "jupyterbook-DATE" to force rebuilding cache
33-
key: jupyterbook-20240517
33+
key: jupyterbook-20250221
3434

3535
- uses: prefix-dev/[email protected]
3636
with:

Diff for: .github/workflows/nocache.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rebuild Entire Jupyter Book
2+
3+
on:
4+
workflow_dispatch:
5+
6+
# Allow one concurrent deployment
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- uses: prefix-dev/[email protected]
20+
with:
21+
manifest-path: pyproject.toml
22+
cache: true
23+
activate-environment: true
24+
25+
- name: Build JupyterBook
26+
run: |
27+
jupyter-book build ./ --warningiserror --keep-going
28+
29+
- name: Dump Build Logs
30+
if: always()
31+
run: |
32+
if (test -a _build/html/reports/*log); then cat _build/html/reports/*log ; fi

Diff for: .github/workflows/pull_request.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
path: _build
2626
# NOTE: change key to "jupyterbook-DATE" to force rebuilding cache
27-
key: jupyterbook-20240517
27+
key: jupyterbook-20250221
2828

2929
- uses: prefix-dev/[email protected]
3030
with:

0 commit comments

Comments
 (0)