Use base64 to avoid issues with ssh key
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Kaan Barmore-Genç 2022-11-19 12:19:00 -05:00
parent 5229fe9650
commit 961442207c
Signed by: kaan
GPG Key ID: B2E280771CD62FCF
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ pipeline:
image: seriousbug/rsync
secrets: [SSH_KEY, SSH_USER]
commands:
- echo $SSH_KEY > ssh_key
- echo $SSH_KEY | base64 -d > ssh_key
- chmod 600 ssh_key
- rsync -avz -e 'ssh -o StrictHostKeyChecking=no -i ssh_key' public/ $SSH_USER@bgenc.net:/array/www/