Fix for not rebuilding cached assets when there is an update
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 3m34s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 4m20s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 6m43s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2025-01-17 17:18:28 +11:00
parent f19c5594d5
commit 2af84d6f82

View File

@ -65,8 +65,8 @@ jobs:
public/js/app.js public/js/app.js
public/js/manifest.js public/js/manifest.js
public/js/vendor.js public/js/vendor.js
#key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }}
key: build-pla-page-assets #key: build-pla-page-assets
#restore-keys: | #restore-keys: |
# build-pla-page-assets- # build-pla-page-assets-
@ -129,8 +129,8 @@ jobs:
public/js/app.js public/js/app.js
public/js/manifest.js public/js/manifest.js
public/js/vendor.js public/js/vendor.js
#key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }}
key: build-pla-page-assets #key: build-pla-page-assets
#restore-keys: | #restore-keys: |
# build-pla-page-assets- # build-pla-page-assets-
@ -138,7 +138,7 @@ jobs:
name: List the state of page assets name: List the state of page assets
continue-on-error: false continue-on-error: false
run: | run: |
echo CACHE-HIT:${{ steps.cache-page-assets.outputs.cache-hit }} echo CACHE-MISS:${{ steps.cache-page-assets.outputs.cache-hit }}
ls -al public/css/ ls -al public/css/
ls -al public/js/ ls -al public/js/