Update src/run.clj
This commit is contained in:
parent
fbb2f7a05d
commit
76e5aa9b5b
@ -10,7 +10,7 @@
|
||||
(defn deploy-me [{:keys [project service]}]
|
||||
(and
|
||||
(= 0 (:exit (shell/sh "/usr/bin/git" "pull" :dir (str "/root/repos/" project))))
|
||||
(= 0 (:exit (shell/sh "/usr/bin/env" "./restart.sh" :dir (str "/root/repos/" project))))))
|
||||
(= 0 (:exit (shell/sh "/usr/bin/env" "sh" "restart.sh" :dir (str "/root/repos/" project))))))
|
||||
|
||||
(defn app [req]
|
||||
(try
|
||||
|
Loading…
x
Reference in New Issue
Block a user