From ad39b049e7989a0b47ebaffaf8e287f4ecffe34f Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Tue, 20 Aug 2024 13:28:39 +0100 Subject: [PATCH] Cache the _site directory --- .gitea/workflows/build-and-copy.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index 65be207..6cb1696 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -23,6 +23,14 @@ jobs: key: cache-eleventy-build-${{ gitea.run_id }} restore-keys: | 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 run: npm run build env: