summaryrefslogtreecommitdiff
path: root/playbook.bash
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.bash')
-rw-r--r--playbook.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbook.bash b/playbook.bash
index bb1aacd..754c18b 100644
--- a/playbook.bash
+++ b/playbook.bash
@@ -24,6 +24,8 @@ playbook_sync() {
git -C "$path" fetch "$remote" "$branch"
git -C "$path" reset --hard "$remote/$branch"
+ chgdir "$path"
+
case "$(config "$BASHTARD_PLAYBOOK.generator")" in
hugo)
hugo -D # This will generate all the draft content