diff options
-rw-r--r-- | post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post-receive b/post-receive index d74422d..fcc9eeb 100644 --- a/post-receive +++ b/post-receive @@ -9,7 +9,7 @@ fi unset GIT_DIR # Update worktree -cd ~/Code/website +cd $(git worktree list | grep main | cut -d' ' -f1) git submodule update # Manually copy static since btrfs COW is super fast |