This commit is contained in:
parent
bb2bbb3faa
commit
550e8fa82c
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ pipeline:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH-KEY" > .ssh/id_25519
|
- touch .ssh/
|
||||||
|
- echo "$SSH-KEY" > ~/.ssh/id_25519
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- rsync -rv -e "ssh -p $SSH-PORT -i ~/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH-HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
- rsync -rv -e "ssh -p $SSH-PORT -i ~/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH-HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
||||||
secrets: [ ssh-key, ssh-port, ssh-host, ssh-dir ]
|
secrets: [ ssh-key, ssh-port, ssh-host, ssh-dir ]
|
||||||
|
|
Loading…
Reference in a new issue