1
Fork 0

Change deployment script to use v3

This commit is contained in:
Jake Howard 2016-01-08 08:32:03 +00:00
parent 1fef2c8128
commit d4cdca7151

View file

@ -9,7 +9,7 @@ GREEN='tput setaf 2'
cd
echo "$($YELLOW)>> Fetching Repository...$($NC)"
ctf fetch RealOrangeOne/theorangeone.net master deployment
ctf fetch RealOrangeOne/theorangeone.net v3 deployment
sleep 15
echo "$($YELLOW)>> Entering Project...$($NC)"
project_dir="$(\ls -1dt ./*/ | head -n 1)"
@ -20,7 +20,7 @@ ctf project run build
ctf project run manage.py migrate
echo "$($YELLOW)>> Routing Project...$($NC)"
ident=$project_dir + ":development:web"
ctf router theorangeone.net --ident %ident
ctf router staging.theorangeone.net --ident %ident
echo "$($YELLOW)>> Destroying Previous Project...$($NC)"
cd -
cd previous_dir