Skip to content
Snippets Groups Projects
Commit 1030bc06 authored by HUSS THEOPHILE's avatar HUSS THEOPHILE
Browse files

fix : Change server who restart on deploy-job-develop

parent 9c074e3e
3 merge requests!61🔀merge V1.2,!60V1.2,!53fix : Change server who restart on deploy-job-develop
Pipeline #311288 passed with stages
in 1 minute and 21 seconds
......@@ -57,7 +57,7 @@ deploy-job-develop:
- ssh-keyscan -p 2024 panel.klebert-host.com > ~/.ssh/known_hosts
- lftp -u $CI_DEV_USER,$CI_PASSWORD sftp://panel.klebert-host.com:2024 -e "mirror -R ./ /; quit"
- >
curl -X POST "http://panel.klebert-host.com/api/client/servers/cdcb5456/power"
curl -X POST "http://panel.klebert-host.com/api/client/servers/2b7a5f27/power"
-H "Authorization: Bearer $CI_API_TOKEN"
-H "Content-Type: application/json"
-d '{"signal": "restart"}'
......
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