diff --git a/deploy.sh b/deploy.sh index 3e54b78..5331b35 100755 --- a/deploy.sh +++ b/deploy.sh @@ -25,7 +25,7 @@ fi # Compress the built website and scp it to the remote host tar -czf httpdocs.tgz -C public . -scp ${SSH_PRIVATE_KEY} httpdocs.tgz ${SSH_USERNAME}${DEPLOYMENT_HOST}:/tmp/httpdocs.tgz +scp httpdocs.tgz ${SSH_USERNAME}${DEPLOYMENT_HOST}:/tmp/httpdocs.tgz # SSH to the remote host, cd to the deployment path, and deploy the website (delete and overwrite everything) ssh ${SSH_PRIVATE_KEY} ${SSH_USERNAME}${DEPLOYMENT_HOST} "DEPLOYMENT_PATH=$DEPLOYMENT_PATH bash" << 'EOF'