File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,18 @@ jobs:
69
69
id : gatsby-cache-folder
70
70
with :
71
71
path : .cache
72
- key : ${{ runner.os }}-cache-gatsby-${{ github.sha }}
72
+ key : ${{ runner.os }}-cache-gatsby-${{ github.ref }}
73
73
restore-keys : |
74
- ${{ runner.os }}-cache-gatsby-
74
+ ${{ runner.os }}-cache-gatsby-main
75
75
76
76
- name : Gatsby Public Folder
77
77
uses : actions/cache@v4
78
78
id : gatsby-public-folder
79
79
with :
80
80
path : public/
81
- key : ${{ runner.os }}-public-gatsby-${{ github.sha }}
81
+ key : ${{ runner.os }}-public-gatsby-${{ github.ref }}
82
82
restore-keys : |
83
- ${{ runner.os }}-public-gatsby-
83
+ ${{ runner.os }}-public-gatsby-main
84
84
85
85
- run : npm install
86
86
- run : npm run build
@@ -135,4 +135,4 @@ jobs:
135
135
body : |
136
136
## Preview Deployment
137
137
🚀 Preview this PR: ${{ steps.url_preview.outputs.NETLIFY_PREVIEW_URL }}
138
- 📍 Commit SHA: ${{ github.sha }}
138
+ 📍 Commit SHA: ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments