From 59dfbf0afcfff5d2c213b7a67b0714802613547a Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Fri, 13 Jan 2017 20:46:23 -0800 Subject: [PATCH] refactor: multi-line things in bash are bonkers --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b5baa240..2cf693eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,8 @@ after_success: - | # Only want to commit when building a push on whatever $BRANCH is - if [ "$TRAVIS_EVENT_TYPE" == "push" ] && - [ "$TRAVIS_BRANCH" == "$BRANCH" ] && + if [ "$TRAVIS_EVENT_TYPE" == "push" ] && \ + [ "$TRAVIS_BRANCH" == "$BRANCH" ] && \ [ "$TRAVIS_REPO_SLUG" == "$REPO" ]; then # Set up SSH environment $(npm bin)/set-up-ssh --key "$encrypted_8b86e0359d64_key" \ @@ -35,7 +35,7 @@ after_success: --path-encrypted-key "./.deploy.enc" # Commit changes (if there were any) from running build earlier - $(npm bin)/commit-changes --commands "echo committing" + $(npm bin)/commit-changes --commands "echo committing" \ --commit-message "Bundled output for commit $TRAVIS_COMMIT [skip ci]" \ --branch "$BRANCH" else