Created
June 12, 2014 10:11
-
-
Save hatchan/a4e0c040b5eddc9fbba1 to your computer and use it in GitHub Desktop.
Multiline yaml to singleline string yaml example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build: | |
| steps: | |
| script: | |
| name: multiline bash | |
| code: > | |
| if [ -f "$EXAMPLE_PATH" ]; then | |
| echo "path exists"; | |
| else | |
| echo "path does not exist"; | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment