Commit a610a3e0 authored by wyykak's avatar wyykak

Update .gitlab-ci.yml

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