Cache the _site directory
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m23s

This commit is contained in:
Lewis Dale 2024-08-20 13:28:39 +01:00
parent 5c0ae5e43e
commit ad39b049e7

View File

@ -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: