This repository has been archived on 2023-06-11. You can view files and clone it, but cannot push or open issues or pull requests.
www-2/.drone.yml
Vincent Finance 283bb9b5da
All checks were successful
continuous-integration/drone/push Build is passing
ci: add rsync commands for synchronization during publishing
2022-07-11 20:35:18 +02:00

25 lines
502 B
YAML

---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: host
user:
from_secret: user
ssh_key:
from_secret: key
clone:
disable: true
trigger:
branch:
- main
steps:
- name: deploy
commands:
- cd /var/www/git/www-2
- git pull
- kiln build
- rsync -av /var/www/git/www-2/public/https/ /var/www/htdocs/www.openbsd.fr.eu.org
- rsync -av /var/www/git/www-2/public/gemini/ /var/gemini