mirror of
https://git.selfprivacy.org/SelfPrivacy/wiki.selfprivacy.org.git
synced 2025-01-13 18:19:30 +00:00
Added initial pipeline definition
This commit is contained in:
parent
cbe95faf31
commit
5548170c34
18
.drone.yml
Normal file
18
.drone.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
commands:
|
||||
- cd src/
|
||||
- mdbook build
|
||||
|
||||
- name: deploy
|
||||
environment:
|
||||
PASSWORD:
|
||||
from_secret: INH_CANDIDATE_0
|
||||
commands:
|
||||
- echo "$PASSWORD"
|
||||
- sshpass -p "$PASSWORD" scp -r ./ root@selfprivacy.org:/var/www/docs.selfprivacy.org/
|
Loading…
Reference in a new issue