Parcourir la source

:fire: remove deploy dashboard by rsync

Jeremy Zheng il y a 2 ans
Parent
commit
0af4575663
1 fichiers modifiés avec 0 ajouts et 28 suppressions
  1. 0 28
      scripts/dashboard/deploy.sh

+ 0 - 28
scripts/dashboard/deploy.sh

@@ -1,28 +0,0 @@
-#!/bin/bash
-
-set -e
-
-if [ "$#" -ne 1 ]
-then
-    echo "USAGE: $0 DOMAIN"
-    exit 1
-fi
-
-export GIT_VERSION=$(git describe --tags --always --dirty --first-parent)
-
-
-if [ ! -d node_modules ]
-then
-    yarn install
-fi
-
-PUBLIC_URL=/pcd yarn build
-
-
-echo "$GIT_VERSION" > build/VERSION
-echo "$(date -R)" >> build/VERSION
-
-
-rsync -rzv build/ deploy@$1:/var/www/$1/dashboard
-
-echo "done($GIT_VERSION)."