diff --git a/automation/apply.sh b/automation/apply.sh index 9f0ffa6..ba144d5 100755 --- a/automation/apply.sh +++ b/automation/apply.sh @@ -11,7 +11,7 @@ tmp_web_footer_dir="/tmp/web-footer-$(date +%N)" 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" 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 if [ "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir" ] && [ -d "$tmp_web_footer_dir/.git" ]; then rm -rf "$tmp_web_footer_dir" diff --git a/automation/rules b/automation/rules index c65bcaa..c9f5187 100644 --- a/automation/rules +++ b/automation/rules @@ -1 +1 @@ -apply when modified:/git-portfolio +apply when modified:(/git-portfolio or automation/apply.sh)