Kaan Barmore-Genç
961442207c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
19 lines
432 B
YAML
19 lines
432 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
recursive: true
|
|
|
|
pipeline:
|
|
build:
|
|
image: klakegg/hugo:ext-alpine
|
|
commands:
|
|
- hugo -D
|
|
deploy:
|
|
image: seriousbug/rsync
|
|
secrets: [SSH_KEY, SSH_USER]
|
|
commands:
|
|
- 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/
|