a
This commit is contained in:
parent
8fd2c0d180
commit
e4c39ab2fb
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ steps:
|
|||
- npm install
|
||||
- npm run build
|
||||
- mkdir /root/.ssh && chmod 0700 /root/.ssh
|
||||
- touch /root/.ssh/id_rsa && echo $SSH_KEY > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
|
||||
- touch /root/.ssh/id_rsa && echo $SSH_KEY > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
|
||||
- cat /root/.ssh/id_rsa
|
||||
- /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist
|
||||
|
||||
|
|
Loading…
Reference in a new issue