From 9c1cd36e26c7e42c04661bcdc4e2bd70911adccf Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Thu, 29 Aug 2019 16:38:38 +0800 Subject: [PATCH] =?UTF-8?q?deploy=20=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- deploy.sh | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100755 deploy.sh diff --git a/build.sh b/build.sh index ed71c3d..512d94e 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ docker build -t $tag:latest . if test $datetime != ""; then - docker push $tag:latest + # docker push $tag:latest docker tag $tag:latest $tag:$datetime docker push $tag:$datetime fi diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 2132993..0000000 --- a/deploy.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env sh - -# abort on errors -set -e - -# build -npm run docs:build - -# navigate into the build output directory - -# if you are deploying to a custom domain -# echo 'www.example.com' > CNAME - -git add -A -git commit -m ''$1 - -# if you are deploying to https://.github.io -# git push -f git@github.com:/.github.io.git master - -# if you are deploying to https://.github.io/ -git push -f git@github.com:eip-work/kuboard-press.git master