hopefully now!
This commit is contained in:
parent
6e51965ab6
commit
6ac15c9fe0
1 changed files with 2 additions and 3 deletions
|
@ -10,9 +10,8 @@ steps:
|
|||
- npm install
|
||||
- npm run build
|
||||
- mkdir /root/.ssh && chmod 0700 /root/.ssh
|
||||
- touch /root/.ssh/id_rsa
|
||||
- echo $SSH_KEY | base64 --decode > /root/.ssh/id_rsa
|
||||
- echo $SSH_KEY | base64 --decode >> /root/.ssh/id_rsa
|
||||
- chmod 0600 /root/.ssh/id_rsa
|
||||
- sleep 500000
|
||||
- ssh-keyscan $REMOTE_IP >> /root/.ssh/known_hosts
|
||||
- /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist
|
||||
secrets: [ SSH_KEY, remote_ip ]
|
||||
|
|
Loading…
Reference in a new issue