Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /