Pārlūkot izejas kodu

Added Deploy Script

Yoginth 7 gadi atpakaļ
vecāks
revīzija
e608495749
1 mainītis faili ar 13 papildinājumiem un 0 dzēšanām
  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"