Update CI
This commit is contained in:
parent
d648fb779e
commit
1193b6e0d9
|
@ -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…
Reference in New Issue