try multiline string

This commit is contained in:
Joseph Montanaro committed 2022-01-21 10:21:47 -08:00
1 parent 9c5505101e
commit f989aea092
1 file changed
+5
+5
View File
@@ -14,4 +14,9 @@ steps:
from_secret: slack_hook_url from_secret: slack_hook_url
commands: commands:
- INSTALL_OUTPUT=$(pip install requests) | true - INSTALL_OUTPUT=$(pip install requests) | true
- >
if [[ ${PIPESTATUS[0]} > 0 ]]; then
echo "$INSTALL_OUTPUT"
exit 1
fi
- python bot.py - python bot.py