From 5a5681d4796657f10587eab625fa2ff9fadfa20b Mon Sep 17 00:00:00 2001
From: Chuck Dries <chuck@chuckdries.com>
Date: Fri, 16 Jul 2021 22:09:26 -0700
Subject: [PATCH] fix gatsby cache

---
 .github/workflows/main.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0985db1..1c90459 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -27,13 +27,15 @@ jobs:
           cache: yarn
       - name: Install dependencies
         run: yarn install --prod --pure-lockfile
-      - name: Cache gatsby cache
+      - name: Gatsby cache
         uses: actions/cache@v2
         with:
           key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
           restore-keys: |
             ${{ runner.os }}-gatsby-build-
-          path: .cache
+          path: |
+            public
+            .cache
       - name: Build
         run: yarn run build
       - name: upload