From 5bca1b99550538644e38d9e4bf364b45298da960 Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Mon, 29 Dec 2025 23:12:45 -0800 Subject: [PATCH] cache path does need to be separate --- .github/workflows/deploy-to-ghpages.yml | 2 +- astro.config.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: { -- 2.52.0