Update .gitlab-ci.yml

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-06-08 12:37:07 -04:00
parent 05af94077a
commit de5ad62af8

View File

@ -97,4 +97,4 @@ deploy:
- 'mkdir ~/.ssh'
- 'ssh-keyscan -p 2022 panel.chaoticlogic.us >> ~/.ssh/known_hosts'
- 'lftp sftp://$SFTP_USER:$SFTP_PASS@$SFTP_HOST -e "mirror -X .* -X .*/ -X *.db -X appsettings.json --reverse --verbose --delete --parallel=8 ../publish/ ./; bye"'
- 'curl -H "Authorization: Bearer $API_TOKEN" -H "Content-Type: application/json" -H "Accept: Application/vnd.pterodactyl.v1+json" "$API_URIclient/servers/$API_CONTAINER/power" -X POST -d \'{ "signal": "restart" }\''
- 'curl -H "Authorization: Bearer $API_TOKEN" -H "Content-Type: application/json" -H "Accept: Application/vnd.pterodactyl.v1+json" "$API_URI/client/servers/$API_CONTAINER/power" -X POST -d \'{ "signal": "restart" }\''