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