Update deploy.sh
This commit is contained in:
@@ -20,9 +20,9 @@ setup)
|
||||
echo
|
||||
echo -e "${GREEN}Starting setup of $2${NOCOL}"
|
||||
sleep 2
|
||||
curl -u $USER:$PASS -so /tmp/$2.tmp $SECRET/$2/setup.env
|
||||
curl -u $USER:$PASS -so /tmp/setup.env $SECRET/$2/setup.env
|
||||
bash -c "$(curl -fsSL $CODE/$2/setup.sh)"
|
||||
rm -f /tmp/$2.tmp
|
||||
rm -f /tmp/setup.env
|
||||
exit 0;;
|
||||
*)
|
||||
echo -r "${RED}application name not entered, exitting${NOCOL}"
|
||||
|
Reference in New Issue
Block a user