mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
Ugly quote fix for travis.yml
- inspiration from https://github.com/travis-ci/travis-ci/issues/8597#issuecomment-337240810 - https://stackoverflow.com/questions/47742913/travis-ci-how-to-use-repository-variables-in-travis-yml
This commit is contained in:
parent
9f7aa63032
commit
8406943360
@ -62,4 +62,4 @@ after_success:
|
||||
fi
|
||||
|
||||
after_script:
|
||||
- "curl -X POST -H 'Content-Type:application/json' -d '{\"attachments\": [{\"color\": \"warning\", \"fallback\": \"Build Notification: ${TRAVIS_BUILD_WEB_URL}\", \"title\": \"Build Notification\", \"text\": \"${TRAVIS_BUILD_WEB_URL}\"}]}' $SLACK_URL"
|
||||
- "curl -X POST -H \"Content-Type:application/json\" -d \"{\\\"attachments\\\": [{\\\"color\\\": \\\"warning\\\", \\\"fallback\\\": \\\"Build Notification: $TRAVIS_BUILD_WEB_URL\\\", \\\"title\\\": \\\"Build Notification\\\", \\\"text\\\": \\\"$TRAVIS_BUILD_WEB_URL\\\"}]}\" $SLACK_URL"
|
||||
|
Loading…
Reference in New Issue
Block a user