Hopefully now
This commit is contained in:
parent
0f6b1b1b7b
commit
e00d1a023e
1 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,9 @@ steps:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- mkdir /root/.ssh && chmod 0700 /root/.ssh
|
- 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
|
- rm /root/.ssh/id_rsa
|
||||||
- sleep 50000
|
- touch /root/.ssh/id_rsa
|
||||||
|
- echo $SSH_KEY > /root/.ssh/id_rsa
|
||||||
|
- chmod 0600 /root/.ssh/id_rsa
|
||||||
- /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist
|
- /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist
|
||||||
secrets: [ SSH_KEY, REMOTE_IP ]
|
secrets: [ SSH_KEY, REMOTE_IP ]
|
||||||
|
|
Loading…
Reference in a new issue