Skip to content

Commit dce6da4

Browse files
authored
Use refname for preview, too
1 parent 9641957 commit dce6da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
id: gatsby-cache-folder
7070
with:
7171
path: .cache
72-
key: ${{ runner.os }}-cache-gatsby-${{ github.ref }}
72+
key: ${{ runner.os }}-cache-gatsby-${{ github.refname }}
7373
restore-keys: |
7474
${{ runner.os }}-cache-gatsby-main
7575
@@ -78,7 +78,7 @@ jobs:
7878
id: gatsby-public-folder
7979
with:
8080
path: public/
81-
key: ${{ runner.os }}-public-gatsby-${{ github.ref }}
81+
key: ${{ runner.os }}-public-gatsby-${{ github.refname }}
8282
restore-keys: |
8383
${{ runner.os }}-public-gatsby-main
8484

0 commit comments

Comments
 (0)