Commit cb60ed64 authored by wyykak's avatar wyykak

Update .gitlab-ci.yml

parent 4c42d55b
Pipeline #16722 passed with stage
in 45 seconds
...@@ -9,9 +9,9 @@ deploy_to_server: ...@@ -9,9 +9,9 @@ deploy_to_server:
script: script:
- mkdir ~/.ssh - mkdir ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- ssh-keyscan thc.mycard.moe >> ~/.ssh/known_hosts - ssh-keyscan 10.198.6.216 >> ~/.ssh/known_hosts
- echo $WYYKAK_SSH_KEY | base64 --decode > ~/.ssh/id_rsa - echo $WYYKAK_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/* - chmod 600 ~/.ssh/*
- ssh root@thc.mycard.moe "cd auto_deploy_tool; ./deploy.sh" - ssh root@10.198.6.216 "cd auto_deploy_tool; ./deploy.sh"
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