From: Cameron Otsuka Date: Tue, 30 Dec 2025 07:12:45 +0000 (-0800) Subject: cache path does need to be separate X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=5bca1b99550538644e38d9e4bf364b45298da960;p=cotsuka.github.io cache path does need to be separate --- diff --git a/.github/workflows/deploy-to-ghpages.yml b/.github/workflows/deploy-to-ghpages.yml index 3c541e8..24b4f8b 100644 --- a/.github/workflows/deploy-to-ghpages.yml +++ b/.github/workflows/deploy-to-ghpages.yml @@ -40,7 +40,7 @@ jobs: - name: Restore Astro image cache uses: actions/cache@v5 with: - path: node_modules/.astro-cache/assets/ + path: .astro-cache/assets/ key: astro-images-${{ hashFiles('src/assets/**/*', 'content/**/*.gif', 'content/**/*.jpg', 'content/**/*.png', 'content/**/*.svg', 'content/**/*.webp') }} restore-keys: | astro-images- diff --git a/astro.config.mjs b/astro.config.mjs index 2f60963..08176cd 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,6 +8,7 @@ import sitemap from '@astrojs/sitemap'; export default defineConfig({ site: 'https://cameron.otsuka.systems', + cacheDir: './.astro-cache', integrations: [ icon({ include: {