diff --git a/.gitattributes b/.gitattributes index 236a71b..1ce20a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ *.png -text *.jpg -text *.jpeg -text +*.sh text eol=lf diff --git a/deploy.sh b/deploy.sh index 8d1237c..b2da242 100644 --- a/deploy.sh +++ b/deploy.sh @@ -16,8 +16,7 @@ if ! docker compose version >/dev/null 2>&1; then exit 1 fi -# Do not reuse an old frontend layer: media files must always come from the -# currently uploaded source package. +# Force a fresh image so replaced media files cannot be hidden by build cache. docker compose build --no-cache shuziren docker compose up -d --force-recreate --remove-orphans shuziren diff --git a/src/App.vue b/src/App.vue index 4c07de3..f656119 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@