Merge branch 'develop' into 'master'

Update .gitlab-ci.yml

See merge request discord-bots/chaosbot!22
This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-15 14:07:13 -04:00
commit ecea7f716b

View File

@ -94,5 +94,5 @@ deploy:
- 'mkdir ~/.ssh'
- 'ssh-keyscan -p 2302 seanstoves.com >> ~/.ssh/known_hosts'
- 'echo "LFTP needs to be fixed"'
- 'lftp sftp://$SFTP_USER:$SFTP_PASS@$SFTP_HOST -e "mirror -X .* -X .*/ -X *.db -X appsettings.json --reverse --verbose --delete --parallel=8 build/ ./; bye"'
- 'lftp sftp://$SFTP_USER:$SFTP_PASS@$SFTP_HOST -e "mirror -X .* -X .*/ -X *.db -X appsettings.json --reverse --verbose --delete --parallel=8 ../build/ ./; bye"'
# - 'curl -X POST $API_URI/api/endpoints/$ENDPOINT_URI/docker/containers/$CONTAINER_ID/restart -H "Authorization: Bearer `curl -X POST $API_URI/api/auth -H "Content-Type: application/json" -d "{\"Username\": \"$API_USER\", \"Password\": \"$API_PASS\"}"" | jq -r ".jwt"`"'