Fix apply.sh error.

This commit is contained in:
2026-04-20 17:04:30 +01:00
parent 29d6ef5ad0
commit b2fe7f7a7f
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ tmp_web_footer_dir="/tmp/web-footer-$(date +%N)"
echo Cloning web-footer to "$tmp_web_footer_dir"... >&2 echo Cloning web-footer to "$tmp_web_footer_dir"... >&2
git clone --depth 1 --branch main git@git.seanhealy.ie:sean/web-footer.git "$tmp_web_footer_dir" git clone --depth 1 --branch main git@git.seanhealy.ie:sean/web-footer.git "$tmp_web_footer_dir"
echo Re-personalising HTML files... >&2 echo Re-personalising HTML files... >&2
(cd "/tmp/web-footer" && ./automation/personalise.sh) (cd "$tmp_web_footer_dir" && ./automation/personalise.sh)
echo Cleaning up... >&2 echo Cleaning up... >&2
if [ "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir/.git" ]; then if [ "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir/.git" ]; then
rm -rf "$tmp_web_footer_dir" rm -rf "$tmp_web_footer_dir"

View File

@@ -1 +1 @@
apply when modified:/git-portfolio apply when modified:(/git-portfolio or automation/apply.sh)