]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
use default astro image cache location
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Dec 2025 07:08:11 +0000 (23:08 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Dec 2025 07:08:11 +0000 (23:08 -0800)
.github/workflows/deploy-to-ghpages.yml
astro.config.mjs

index 24b4f8bc5e4d6cc13dec1061a4863f9fd3839ff7..3c541e8ac76a83cea9bdb3d1aac614bcdc44129d 100644 (file)
@@ -40,7 +40,7 @@ jobs:
       - name: Restore Astro image cache
         uses: actions/cache@v5
         with:
-          path: .astro-cache/assets/
+          path: node_modules/.astro-cache/assets/
           key: astro-images-${{ hashFiles('src/assets/**/*', 'content/**/*.gif', 'content/**/*.jpg', 'content/**/*.png', 'content/**/*.svg', 'content/**/*.webp') }}
           restore-keys: |
             astro-images-
index 08176cd0e34347e8c172792d92f66ad2ab9d7135..2f609630e87a15baf2ac55e992e9bbfd18242a2a 100644 (file)
@@ -8,7 +8,6 @@ import sitemap from '@astrojs/sitemap';
 
 export default defineConfig({
   site: 'https://cameron.otsuka.systems',
-  cacheDir: './.astro-cache',
   integrations: [
     icon({
       include: {