Skip to content

Commit 1c21a52

Browse files
authored
Cache _freeze correctly (#546)
1 parent a528aa8 commit 1c21a52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
path: |
6060
./_freeze/
61-
key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}
61+
key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }}
6262

6363
- name: Deploy to GitHub Pages
6464
uses: JamesIves/github-pages-deploy-action@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
path: |
9292
./_freeze/
93-
key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}
93+
key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }}
9494

9595
- name: Fetch search_original.json from main site
9696
run: curl -O https://raw.githubusercontent.com/TuringLang/turinglang.github.io/gh-pages/search_original.json

0 commit comments

Comments
 (0)