Fix name of SSH key #10

Closed
vrifox wants to merge 8 commits from cicd into main
Showing only changes of commit 92a7274641 - Show all commits

View file

@ -11,8 +11,9 @@ pipeline:
- pacman -Syu --noconfirm openssh rsync - pacman -Syu --noconfirm openssh rsync
- mkdir -p /root/.ssh - mkdir -p /root/.ssh
- echo "$SSH_KEY" > /root/.ssh/id_ed25519 - echo "$SSH_KEY" > /root/.ssh/id_ed25519
- chmod 700 /root/.ssh/id_ed25519
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config - 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/vrifox.cc/ --checksum - rsync -rv -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/vrifox.cc/ --checksum
secrets: [ ssh_key, ssh_port, ssh_host ] secrets: [ ssh_key, ssh_port, ssh_host ]
branches: main branches: [ main, cicd ]