Skip to content

Commit

Permalink
double quotes for variable interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Janekdererste authored Nov 26, 2018
1 parent ed8adc5 commit ab09dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ ssh-add <(echo "$VSP_SSH_KEY_BASE64"| base64 --decode)
#echo "$VSP_SSH_KEY" | dos2unix | ssh-add -
#echo "${VSP_SSH_KEY}" | tr -d '\r' | ssh-add - > /dev/null
# remove old webfiles
ssh [email protected] 'rm -r /var/www/"$DOMAIN"/*'
ssh [email protected] "rm -r /var/www/$DOMAIN/*"
# upload fresh built files
scp -r dist/* [email protected]:/var/www/"$DOMAIN"/
scp -r dist/* [email protected]:/var/www/$DOMAIN/

0 comments on commit ab09dd0

Please sign in to comment.