Commit c18c0f9b authored by wyykak's avatar wyykak

Update .gitlab-ci.yml

parent 6f091c55
......@@ -10,8 +10,7 @@ deploy_to_server:
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan thc.mycard.moe >> ~/.ssh/known_hosts
- echo $WYYKAK_SSH_KEY
- echo $WYYKAK_SSH_KEY > ~/.ssh/id_rsa
- echo $WYYKAK_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/*
- ssh root@thc.mycard.moe "cd auto_deploy_tool; ./deploy.sh"
only:
......
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