Skip to content

Commit 97183a0

Browse files
committed
Cache Tina builds as well
1 parent 403ec4c commit 97183a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/jekyll.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
- uses: actions/cache/restore@v3
6868
id: cache_tinacms_restore
6969
with:
70-
path: .tina/__generated__
70+
path: |
71+
.tina/__generated__
72+
./_site/admin
7173
key: ${{ runner.os }}-tina-${{ hashFiles('.tina/config.js') }}
7274
- name: Build TinaCMS
7375
if: steps.cache_tinacms_restore.outputs.cache-hit != 'true'
@@ -85,7 +87,9 @@ jobs:
8587
id: cache_tinacms_save
8688
if: steps.cache_tinacms_restore.outputs.cache-hit != 'true'
8789
with:
88-
path: .tina/__generated__
90+
path: |
91+
.tina/__generated__
92+
./_site/admin
8993
key: ${{ runner.os }}-tina-${{ hashFiles('.tina/config.js') }}
9094
- name: Upload artifact
9195
# Automatically uploads an artifact from the './_site' directory by default

0 commit comments

Comments
 (0)