Improve Woodpecker pipeline #11

Merged
vrifox merged 6 commits from cicd into main 2023-03-30 09:57:53 +02:00
Showing only changes of commit 22e7d68416 - Show all commits

View file

@ -13,7 +13,7 @@ pipeline:
- echo "$SSH_KEY" > /root/.ssh/id_ed25519
- chmod 700 /root/.ssh/id_ed25519
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
- rsync -rv -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/ --checksum
- rsync -rv --delete -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/ --checksum
secrets: [ ssh_key, ssh_port, ssh_host ]
branches: [ main, cicd ]