Update CI

This commit is contained in:
Agatha Lovelace 2020-06-24 13:01:05 +03:00
parent d30ccf3056
commit 7969114871
No known key found for this signature in database
GPG Key ID: 2DB18BA2E0A80BC3
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ before_script:
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
production:
stage: deploy
script:
- ssh julia@destiny.zotan.network "cd discordinyator/ && git checkout master && git pull origin master && sudo systemctl restart discordinyator.service && exit"
- ssh agatha@hydra.zotan.network "cd discordinyator/ && git checkout master && git pull origin master && sudo systemctl restart discordinyator.service && exit"
only:
- master