Typo'd on a command with too many nested quotes

This commit is contained in:
Daniel_I_Am 2020-08-15 21:09:58 -04:00
parent 38116b7623
commit 1ee7ca135c

View File

@ -119,4 +119,4 @@ deploy:
- docker
script:
- 'apk add curl jq'
- '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"`"'
- '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"`"'