From 3bae1fdd6c0f74bfd06b51fba844998bb4c9f697 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 8 Mar 2023 09:22:56 +0100 Subject: Fix incorrect use of remote --- playbooks.d/www-blog/playbook.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks.d/www-blog/playbook.bash b/playbooks.d/www-blog/playbook.bash index c5835d6..e2c0617 100644 --- a/playbooks.d/www-blog/playbook.bash +++ b/playbooks.d/www-blog/playbook.bash @@ -19,7 +19,7 @@ playbook_sync() { branch="$(config "$BASHTARD_PLAYBOOK.branch" "master")" path="$(config "$BASHTARD_PLAYBOOK.path" "/var/www/$BASHTARD_PLAYBOOK")" - remote="$(config "$BASHTARD_PLAYBOOK.origin" "origin")" + remote="$(config "$BASHTARD_PLAYBOOK.remote" "origin")" git -C "$path" fetch "$remote" "$branch" git -C "$path" reset --hard "$remote/$branch" -- cgit v1.1