diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-08 09:22:56 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-08 09:22:56 +0100 |
commit | 3bae1fdd6c0f74bfd06b51fba844998bb4c9f697 (patch) | |
tree | f513ae3c227eefbcb82d8114dcd9e0756118c7ea | |
parent | 2e0616dfb67c4122d1ba590deeb772168a46a833 (diff) |
Fix incorrect use of remote
-rw-r--r-- | playbooks.d/www-blog/playbook.bash | 2 |
1 files changed, 1 insertions, 1 deletions
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" |