12 lines
374 B
YAML
12 lines
374 B
YAML
pipeline:
|
|
build:
|
|
image: jbrechtel/zola:latest
|
|
commands:
|
|
- "zola build"
|
|
deploy:
|
|
image: jbrechtel/rsync:latest
|
|
commands:
|
|
- export
|
|
- sshpass -p $${DEPLOY_PASSWORD} rsync -avzr -e ssh -o "StrictHostKeyChecking=no" /src/ $${DEPLOY_USER}@$${DEPLOY_HOST}:$${DEPLOY_PATH}
|
|
secrets: [ DEPLOY_USER, DEPLOY_PATH, DEPLOY_HOST, DEPLOY_PASSWORD ]
|