summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-08 09:22:56 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-08 09:22:56 +0100
commit3bae1fdd6c0f74bfd06b51fba844998bb4c9f697 (patch)
treef513ae3c227eefbcb82d8114dcd9e0756118c7ea
parent2e0616dfb67c4122d1ba590deeb772168a46a833 (diff)
downloadtyilnet-3bae1fdd6c0f74bfd06b51fba844998bb4c9f697.tar.gz
tyilnet-3bae1fdd6c0f74bfd06b51fba844998bb4c9f697.tar.bz2
Fix incorrect use of remote
-rw-r--r--playbooks.d/www-blog/playbook.bash2
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"