From: Cameron Otsuka Date: Mon, 29 Dec 2025 19:49:58 +0000 (-0800) Subject: another try at cache paths X-Git-Tag: v2.2.0~7 X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=3f11ca58e46fccda7e710bf56facfaedd8aea48d;p=cotsuka.github.io another try at cache paths --- diff --git a/.github/workflows/deploy-to-ghpages.yml b/.github/workflows/deploy-to-ghpages.yml index 004cafc..9c5167f 100644 --- a/.github/workflows/deploy-to-ghpages.yml +++ b/.github/workflows/deploy-to-ghpages.yml @@ -27,8 +27,8 @@ jobs: - name: Restore Astro image cache uses: actions/cache@v5 with: - path: .astro-cache/assets - key: astro-images-${{ hashFiles('.astro-cache/assets/**/*') }} + path: .astro-cache/assets/ + key: astro-images-${{ hashFiles('src/assets/**/*', 'src/content/**/*.{gif,jpg,png,svg,webp}') }} restore-keys: | astro-images- @@ -36,7 +36,7 @@ jobs: uses: actions/cache@v5 with: path: .og-cache/ - key: og-images-${{ hashFiles('.og-cache/**/*') }} + key: og-images-${{ hashFiles('.og-cache/*') }} restore-keys: | og-images-