From 21a6b03da11281445a68082f36ce83ad1a0dfcc0 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Wed, 8 Jan 2025 22:53:52 +0000 Subject: [PATCH] Hook should be called from the temporary work directory --- hook/hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook/hook.go b/hook/hook.go index 5b2c4ea..9d4992c 100644 --- a/hook/hook.go +++ b/hook/hook.go @@ -16,7 +16,7 @@ func New(hookDir string, sitesDir string) *Hook { } func (h *Hook) Run(site, branch string) error { - sitePath, err := securejoin.SecureJoin(h.sitesDir, site+"/@"+branch) + sitePath, err := securejoin.SecureJoin(h.sitesDir, site+"/work@"+branch) if err != nil { return err }