wiki.selfprivacy.org/.drone.yml
2022-02-07 10:21:13 +02:00

17 lines
331 B
YAML

---
kind: pipeline
type: exec
name: default
steps:
- name: build
commands:
- mdbook build
- name: deploy
environment:
PASSWORD:
from_secret: INH_CANDIDATE_0
commands:
- echo "$PASSWORD"
- sshpass -p "$PASSWORD" scp -o StrictHostKeyChecking=no -r ./book/ root@selfprivacy.org:/var/www/wiki.selfprivacy.org/