diff options
-rw-r--r-- | post-receive | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/post-receive b/post-receive index 1e86a78..0da0bf7 100644 --- a/post-receive +++ b/post-receive @@ -3,13 +3,8 @@ if [[ -v GIT_PUSH_OPTION_0 ]]; then exit fi -# Solution to -# remote: fatal: not a git repository: '.' -unset GIT_DIR - -# Update local clone -cd /var/lib/forgejo/website -git pull +# Update worktree +cd ~/Code/website git submodule update # Manually copy static since btrfs COW is super fast |