Skip to content

Commit 11635c4

Browse files
committed
Using right cache also for preview
1 parent 0a9536b commit 11635c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .github/workflows/preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ jobs:
6868
id: gatsby-cache-folder
6969
with:
7070
path: .cache
71-
key: ${{ runner.os }}-cache-gatsbyV2-${{ github.sha }}
71+
key: ${{ runner.os }}-cache-gatsby-${{ github.sha }}
7272
restore-keys: |
73-
${{ runner.os }}-cache-gatsbyV2-
73+
${{ runner.os }}-cache-gatsby-
7474
7575
- name: Gatsby Public Folder
7676
uses: actions/cache@v4
7777
id: gatsby-public-folder
7878
with:
7979
path: public/
80-
key: ${{ runner.os }}-public-gatsbyV2-${{ github.sha }}
80+
key: ${{ runner.os }}-public-gatsby-${{ github.sha }}
8181
restore-keys: |
82-
${{ runner.os }}-public-gatsbyV2-
82+
${{ runner.os }}-public-gatsby-
8383
8484
- run: npm install
8585
- run: npm run build

0 commit comments

Comments
 (0)