瀏覽代碼

Updated Deploy Script

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

+ 7 - 13
script/deploy

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