Skip to content

Commit 170a24c

Browse files
Save cache after cloudflare deploy, for speed
1 parent 8249771 commit 170a24c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ jobs:
3838
TINA_SEARCH_TOKEN: ${{ secrets.TINA_SEARCH_TOKEN }}
3939
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
4040
ENABLE_ANALYTICS: ${{ github.ref == 'refs/heads/master' }}
41-
- uses: actions/cache/save@v4
42-
with:
43-
path: |
44-
.cache
45-
img
46-
key: 11ty-${{ runner.os }}-${{ github.run_id }}
4741
- name: Publish to Cloudflare Pages
4842
uses: cloudflare/pages-action@v1
4943
with:
@@ -53,3 +47,9 @@ jobs:
5347
directory: dist
5448
# Optional: Enable this if you want to have GitHub Deployments triggered
5549
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
50+
- uses: actions/cache/save@v4
51+
with:
52+
path: |
53+
.cache
54+
img
55+
key: 11ty-${{ runner.os }}-${{ github.run_id }}

0 commit comments

Comments
 (0)