Deploy website with rsync
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Kaan Barmore-Genç 2022-11-19 12:10:43 -05:00
parent 9d5d602c04
commit 141ec061e0
Signed by: kaan
GPG Key ID: B2E280771CD62FCF
1 changed files with 6 additions and 1 deletions

View File

@ -9,4 +9,9 @@ pipeline:
image: klakegg/hugo:ext-alpine
commands:
- hugo -D
- ls -lAh
deploy:
image: seriousbug/rsync
secrets: [SSH_KEY, SSH_USER]
commands:
- echo $SSH_KEY > ssh_key
- rsync -avz -e 'ssh -o StrictHostKeyChecking=no -i ssh_key' public/ $SSH_USER@bgenc.net:/array/www/