From da2f93c15b314091dbfcf58cd1e11e3f1ff08bc7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 4 Jan 2025 18:04:38 +1100 Subject: [PATCH] Cache page assets during CI/CD --- .gitea/workflows/build_docker.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 1b84449..6814f82 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -64,8 +64,8 @@ jobs: public/js/vendor.js #key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} - #restore-keys: | - # ${{ runner.os }}-build-${{ env.cache-name }}- + restore-keys: | + build-pla-page-assets- build: strategy: @@ -125,8 +125,8 @@ jobs: public/js/vendor.js #key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} - #restore-keys: | - # ${{ runner.os }}-build-${{ env.cache-name }}- + restore-keys: | + build-pla-page-assets- - if: ${{ steps.cache-page-assets.outputs.cache-hit != 'true' }} name: List the state of page assets