Commit f05bf249 authored by wyykak's avatar wyykak

Update .gitlab-ci.yml

parent d738316a
...@@ -37,10 +37,10 @@ deploy_to_ygopro_server: ...@@ -37,10 +37,10 @@ deploy_to_ygopro_server:
- apt update && apt -y install openssh-client rsync coreutils - apt update && apt -y install openssh-client rsync coreutils
- mkdir ~/.ssh - mkdir ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- ssh-keyscan 10.198.5.216 >> ~/.ssh/known_hosts - ssh-keyscan 10.198.6.79 >> ~/.ssh/known_hosts
- echo $NANAHIRA_SSH_KEY | base64 --decode > ~/.ssh/id_rsa - echo $NANAHIRA_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/* - chmod 600 ~/.ssh/*
- rsync -4cavz --exclude=pics --delete ./expansions/ root@10.198.5.216:~/ygopro/expansions - rsync -4cavz --exclude=pics --delete ./expansions/ root@10.198.6.79:~/ygopro/expansions
only: only:
- master - master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment