From f90aa9775f095d254b0984c0bd0518701e0af819 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 12 Oct 2018 02:54:56 +0200 Subject: [PATCH] Update runit-all.sh --- runit-all.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runit-all.sh b/runit-all.sh index 956937d..beaf64b 100644 --- a/runit-all.sh +++ b/runit-all.sh @@ -27,5 +27,7 @@ if [ -e .error ]; then echo "error detected @ ${STAGE} !" exit 1 fi -echo "gcc.danio.ga" >out/CNAME -surge ./out gcc.danio.ga +if [ "${2}" == "upload" ]; then + echo "gcc.danio.ga" >out/CNAME + surge ./out gcc.danio.ga +fi