瀏覽代碼

Added Deploy Script

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

+ 13 - 0
script/deploy

@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# deploy: deploy application in digitalocean server
+
+cat script/misc/oteascii.txt
+
+set -e
+
+git pull
+go build
+sudo systemctl restart gitote
+
+echo "==> App is successfully deployed"