Fixes project name reference

This commit is contained in:
Samuel Ryan 2015-11-08 00:28:14 +00:00
parent 9029b10820
commit 4130e2f7c8

View File

@ -1,6 +1,6 @@
build="build-${CIRCLE_BUILD_NUM}"
sudo mkdir ~/${build}
sudo cp -R ~/httpstatuses.com/build/. ~/${build}
sudo cp -R ~/httpstatuses/build/. ~/${build}
echo "Deploying ${build} to ${DEPLOY_TARGET}"
rsync -r -l ~/${build} ${DEPLOY_TARGET}:/srv/www/httpstatuses.com
ssh ${DEPLOY_TARGET} "ln -sfn /srv/www/httpstatuses.com/${build} /srv/www/httpstatuses.com/live"