File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -50,18 +50,18 @@ jobs:
50
50
id : gatsby-cache-folder
51
51
with :
52
52
path : .cache
53
- key : ${{ runner.os }}-cache-gatsby-${{ github.sha }}
53
+ key : ${{ runner.os }}-cache-gatsby-${{ github.ref }}
54
54
restore-keys : |
55
- ${{ runner.os }}-cache-gatsby-
55
+ ${{ runner.os }}-cache-gatsby-main
56
56
57
57
- name : Gatsby Public Folder
58
58
uses : actions/cache@v4
59
59
id : gatsby-public-folder
60
60
with :
61
61
path : public/
62
- key : ${{ runner.os }}-public-gatsby-${{ github.sha }}
62
+ key : ${{ runner.os }}-public-gatsby-${{ github.ref }}
63
63
restore-keys : |
64
- ${{ runner.os }}-public-gatsby-
64
+ ${{ runner.os }}-public-gatsby-main
65
65
66
66
- run : npm install
67
67
- run : npm run build
Original file line number Diff line number Diff line change @@ -49,18 +49,18 @@ jobs:
49
49
id : gatsby-cache-folder
50
50
with :
51
51
path : .cache
52
- key : ${{ runner.os }}-cache-gatsby-${{ github.sha }}
52
+ key : ${{ runner.os }}-cache-gatsby-${{ github.ref }}
53
53
restore-keys : |
54
- ${{ runner.os }}-cache-gatsby-
54
+ ${{ runner.os }}-cache-gatsby-main
55
55
56
56
- name : Gatsby Public Folder
57
57
uses : actions/cache@v4
58
58
id : gatsby-public-folder
59
59
with :
60
60
path : public/
61
- key : ${{ runner.os }}-public-gatsby-${{ github.sha }}
61
+ key : ${{ runner.os }}-public-gatsby-${{ github.ref }}
62
62
restore-keys : |
63
- ${{ runner.os }}-public-gatsby-
63
+ ${{ runner.os }}-public-gatsby-main
64
64
65
65
- run : npm install
66
66
- run : npm run build
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