From 1193b6e0d93ea8234ba9b3692ba0b7c71b3d2d85 Mon Sep 17 00:00:00 2001 From: Agatha Rose Date: Wed, 24 Jun 2020 13:01:05 +0300 Subject: [PATCH] Update CI --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e2f737..e207698 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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