Browse Source

Update CI

master
Agatha Lovelace 1 year ago
parent
commit
1193b6e0d9
  1. 4
      .gitlab-ci.yml

4
.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
Loading…
Cancel
Save