Explorar o código

Added Deploy Script

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
e608495749
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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"