This commit is contained in:
parent
31c091e141
commit
4d06714637
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ pipeline:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH-KEY" > ~/.ssh/id_25519
|
- 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
|
||||||
secrets: [ ssh-key ]
|
secrets: [ ssh-key ]
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ pipeline:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm openssh rsync
|
- pacman -Syu --noconfirm openssh rsync
|
||||||
- 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-port, ssh-host ]
|
secrets: [ ssh_port, ssh_host ]
|
||||||
|
|
||||||
branches: main
|
branches: main
|
Loading…
Reference in a new issue