Cache the _site directory
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m23s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m23s
This commit is contained in:
parent
5c0ae5e43e
commit
ad39b049e7
@ -23,6 +23,14 @@ jobs:
|
|||||||
key: cache-eleventy-build-${{ gitea.run_id }}
|
key: cache-eleventy-build-${{ gitea.run_id }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cache-eleventy-build
|
cache-eleventy-build
|
||||||
|
- name: Cache _site
|
||||||
|
id: cache-site
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: _site
|
||||||
|
key: cache-site-${{ gitea.run_id }}
|
||||||
|
restore-keys: |
|
||||||
|
cache-site
|
||||||
- name: Build eleventy
|
- name: Build eleventy
|
||||||
run: npm run build
|
run: npm run build
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user