This commit is contained in:
parent
8d7624e263
commit
5614fea718
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ steps:
|
||||||
- apk add rsync openssh-client
|
- apk add rsync openssh-client
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.68.120:/home/vylpes/apps/random-bunny/random-bunny_prod
|
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_prod
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
branch: main
|
branch: main
|
||||||
|
@ -70,7 +70,7 @@ steps:
|
||||||
- apk add rsync openssh-client
|
- apk add rsync openssh-client
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.68.120:/home/vylpes/apps/random-bunny/random-bunny_stage
|
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_stage
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: develop
|
branch: develop
|
||||||
|
|
Loading…
Reference in a new issue