Deploy website with rsync
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

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

View file

@ -9,4 +9,9 @@ pipeline:
image: klakegg/hugo:ext-alpine image: klakegg/hugo:ext-alpine
commands: commands:
- hugo -D - 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/