Fix: Good directory to push!

This commit is contained in:
Bertrand Benjamin 2020-08-05 09:16:59 +02:00
parent ce836d1692
commit 5f2bf02388

View File

@ -14,7 +14,7 @@ steps:
- echo "$SSH_KEY" | ssh-add - - echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rv --exclude ".git/" --delete -e "ssh -p 22" ./ sshcontent@91.121.90.228:~/raw.opytex.org/www/ --checksum - rsync -rv --delete -e "ssh -p 22" ./output/ sshcontent@91.121.90.228:~/raw.opytex.org/www/ --checksum
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: sshcontent-key from_secret: sshcontent-key