]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
cache path does need to be separate
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Dec 2025 07:12:45 +0000 (23:12 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Dec 2025 07:12:45 +0000 (23:12 -0800)
.github/workflows/deploy-to-ghpages.yml
astro.config.mjs

index 3c541e8..24b4f8b 100644 (file)
@@ -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-
index 2f60963..08176cd 100644 (file)
@@ -8,6 +8,7 @@ import sitemap from '@astrojs/sitemap';
 
 export default defineConfig({
   site: 'https://cameron.otsuka.systems',
+  cacheDir: './.astro-cache',
   integrations: [
     icon({
       include: {