testing
This commit is contained in:
parent
4a34d5d0c7
commit
fb7a349848
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: master
|
branch: testing
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
@ -12,6 +12,7 @@ steps:
|
||||||
- mkdir /root/.ssh && chmod 0700 /root/.ssh
|
- mkdir /root/.ssh && chmod 0700 /root/.ssh
|
||||||
- touch /root/.ssh/id_rsa
|
- touch /root/.ssh/id_rsa
|
||||||
- echo $SSH_KEY > /root/.ssh/id_rsa
|
- echo $SSH_KEY > /root/.ssh/id_rsa
|
||||||
|
- sleep 500000
|
||||||
- chmod 0600 /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