Fixed SSH password pipe

This commit is contained in:
Illia Chub 2022-01-24 07:17:54 +02:00
parent 38827c488c
commit ddf777e6e1

View file

@ -2,6 +2,9 @@
kind: pipeline
type: exec
name: default
environment:
PASSWORD:
from_secret: INH_CANDIDATE_0
steps:
#- name: translate
@ -21,5 +24,5 @@ steps:
- name: deploy
commands:
- scp -ri ~/.ssh/id_ed25519 ./ root@selfprivacy.org:/var/www/docs.selfprivacy.org/
- sshpass -p $PASSWORD scp -r ./ root@selfprivacy.org:/var/www/docs.selfprivacy.org/