Skip to content

Commit

Permalink
Hook should be called from the temporary work directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmelon54 committed Jan 8, 2025
1 parent eb36349 commit 21a6b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 21a6b03

Please sign in to comment.