drone_hello/.drone.yml
Bertrand Benjamin 61dbe2061b
Некоторые проверки сообщили об ошибках
continuous-integration/drone/push Build encountered an error
alpin et install
2020-08-04 11:34:50 +00:00

22 строки
523 B
YAML

kind: pipeline
name: Push Content
type: docker
steps:
- name: Push Content
image: alpin
commands:
- apk update
- apk add openssh
- apk add rsync
- echo Début du Push
- eval `ssh-agent -s`
- echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rv --delete -e "ssh -p 22" ./ sshcontent@91.121.90.228:~/raw.opytex.org/www/ --checksum
environment:
SSH_KEY:
from_secret: sshcontent-key