瀏覽代碼

Updated Deployment Scripts

Yoginth 7 年之前
父節點
當前提交
0cc929deea
共有 1 個文件被更改,包括 13 次插入1 次删除
  1. 13 1
      script/deploy

+ 13 - 1
script/deploy

@@ -6,8 +6,20 @@ cat script/misc/oteascii.txt
 
 
 set -e
 set -e
 
 
+tput setaf 1; echo "Deploy started at…"
+date "+%H:%M:%S"
+
+tput setaf 3; echo "Pulling From Source…"
 git pull
 git pull
+
+tput setaf 3; echo "Building binary…"
 go build
 go build
+
+tput setaf 3; echo "Restarting Gitote Service…"
 sudo systemctl restart gitote
 sudo systemctl restart gitote
 
 
-echo "==> App is successfully deployed"
+tput setaf 1; echo "Deploy ended at…"
+date "+%H:%M:%S"
+
+tput setaf 2; echo "==> App is successfully deployed"
+tput setaf 2; echo "==> https://gitote.in"