From c0b90b2a8c9c3208f6a16277a0cfe02170cfb91f Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Tue, 9 Feb 2021 12:40:18 +0100 Subject: :hammer: Add base path to cache --- postbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postbuild.sh b/postbuild.sh index 02c99c3..9f917bc 100755 --- a/postbuild.sh +++ b/postbuild.sh @@ -18,7 +18,7 @@ sed -i".bak" "s/{{ VERSION }}/$VERSION/g" index.html sed -i".bak" "s/{{ VERSION }}/$VERSION/g" service-worker.js tput setaf 4; echo "> Add cache-files to webmanifest..."; tput sgr0 -cache_files=""; +cache_files="'$PUBLISH_URL'"; for file in *; do if [[ "$file" =~ (manifest.webmanifest|.git|.bak) ]]; then continue -- cgit v1.2.3