diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 5382b9deb..15f35b84c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -58,7 +58,7 @@ jobs: with: path: | ./_freeze/ - key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }} + key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }} - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 50e7a5416..5b8e35a6f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -90,7 +90,7 @@ jobs: with: path: | ./_freeze/ - key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }} + key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }} - name: Fetch search_original.json from main site run: curl -O https://raw.githubusercontent.com/TuringLang/turinglang.github.io/gh-pages/search_original.json