Fix git pull command
This commit is contained in:
parent
a81c384892
commit
7b5b18a2b7
2
main.go
2
main.go
|
@ -258,7 +258,7 @@ func startServer(srv *http.Server) {
|
||||||
// TODO parse payload
|
// TODO parse payload
|
||||||
|
|
||||||
pullCmd := exec.Command("git", "pull")
|
pullCmd := exec.Command("git", "pull")
|
||||||
pullCmd.Path = "./static/"
|
pullCmd.Dir = "./static/"
|
||||||
_ = pullCmd.Run()
|
_ = pullCmd.Run()
|
||||||
|
|
||||||
w.Write([]byte("success"))
|
w.Write([]byte("success"))
|
||||||
|
|
Loading…
Reference in New Issue