wiki.selfprivacy.org/.drone.yml

17 lines
331 B
YAML
Raw Normal View History

2022-01-31 06:16:26 +00:00
---
kind: pipeline
type: exec
name: default
steps:
- name: build
commands:
- mdbook build
- name: deploy
environment:
PASSWORD:
from_secret: INH_CANDIDATE_0
commands:
- echo "$PASSWORD"
2022-02-07 08:21:13 +00:00
- sshpass -p "$PASSWORD" scp -o StrictHostKeyChecking=no -r ./book/ root@selfprivacy.org:/var/www/wiki.selfprivacy.org/