Skip to content

Commit 6807afc

Browse files
committed
Improve cloudflare actions
1 parent b0deec6 commit 6807afc

File tree

2 files changed

+11
-141742
lines changed

2 files changed

+11
-141742
lines changed

.github/workflows/cloudflare.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ jobs:
3737
id: gatsby-cache-folder
3838
with:
3939
path: .cache
40-
key: ${{ runner.os }}-cache-gatsby-${{ github.sha }}
40+
key: ${{ runner.os }}-cache-gatsbyV2-${{ github.sha }}
4141
restore-keys: |
42-
${{ runner.os }}-cache-gatsby-
43-
44-
# - name: Gatsby Public Folder
45-
# uses: actions/cache@v3
46-
# id: gatsby-public-folder
47-
# with:
48-
# path: public/
49-
# key: ${{ runner.os }}-public-gatsby-${{ github.sha }}
50-
# restore-keys: |
51-
# ${{ runner.os }}-public-gatsby-
42+
${{ runner.os }}-cache-gatsbyV2-
43+
44+
- name: Gatsby Public Folder
45+
uses: actions/cache@v3
46+
id: gatsby-public-folder
47+
with:
48+
path: public/
49+
key: ${{ runner.os }}-public-gatsbyV2-${{ github.sha }}
50+
restore-keys: |
51+
${{ runner.os }}-public-gatsbyV2-
5252
5353
- run: npm install
5454
- run: npm run build

0 commit comments

Comments
 (0)