From bb3ab3b4d092f417354ee08c51418e30ecd80840 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 11 Dec 2024 11:47:58 -0500 Subject: Fix default branch name for autodeploy --- post-receive | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/post-receive b/post-receive index fcc9eeb..15f816f 100644 --- a/post-receive +++ b/post-receive @@ -7,9 +7,7 @@ fi # remote: fatal: not a git repository: '.' # https://git-scm.com/docs/githooks#_description unset GIT_DIR - -# Update worktree -cd $(git worktree list | grep main | cut -d' ' -f1) +cd $(git worktree list | grep master | cut -d' ' -f1) git submodule update # Manually copy static since btrfs COW is super fast -- cgit v1.2.3-70-g09d2