i forgot to mention secrets
This commit is contained in:
parent
4ba483e420
commit
6fc7af6488
1 changed files with 1 additions and 1 deletions
|
@ -13,4 +13,4 @@ steps:
|
||||||
- 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
|
||||||
- echo $REMOTE_IP
|
- echo $REMOTE_IP
|
||||||
- /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 ]
|
||||||
|
|
Loading…
Reference in a new issue