Skip to content

Commit e16fb39

Browse files
committed
add github action for .docusaurus cache
1 parent bf2dcae commit e16fb39

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ jobs:
3030
- name: Install dependencies
3131
run: npm ci
3232

33+
- name: Cache .docusaurus
34+
uses: actions/cache@v4
35+
with:
36+
path: .docusaurus
37+
key: ${{ runner.os }}-docusaurus-${{ hashFiles('**/*') }}
38+
restore-keys: |
39+
${{ runner.os }}-docusaurus-
40+
3341
- name: Build website
3442
run: npm run build
3543

0 commit comments

Comments
 (0)