Skip to content

Commit

Permalink
chore: circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
asvae committed Jul 24, 2019
1 parent c352397 commit b0e4608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
sudo apt install sshpass
ssh-keyscan -t rsa $SERVER_IP >> ~/.ssh/known_hosts
sshpass -p $SERVER_PASSWORD scp ~/repo/dist.tar.gz $SERVER_USERNAME@$SERVER_IP:~/tmp
sshpass -p $SERVER_PASSWORD ssh $SERVER_USERNAME@$SERVER_IP -p $SERVER_PORT /bin/bash << EOF
sshpass -p $SERVER_PASSWORD ssh -p $SERVER_PORT $SERVER_USERNAME@$SERVER_IP /bin/bash << EOF
rm -rf $DEPLOY_PATH/*
tar -xzf ~/tmp/dist.tar.gz -C $DEPLOY_PATH
rm -f ~/tmp/dist.tar.gz
Expand Down

0 comments on commit b0e4608

Please sign in to comment.