mirror of
https://git.selfprivacy.org/SelfPrivacy/wiki.selfprivacy.org.git
synced 2024-12-07 13:48:47 +00:00
17 lines
331 B
YAML
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/ |