From c734ff22fb72fc005e066c32073ba997cc9fcab5 Mon Sep 17 00:00:00 2001 From: Brandur Date: Sat, 1 Sep 2018 17:17:34 -0700 Subject: [PATCH] I hate Bash so much Former-commit-id: b9e991da04ab46cb003cd4f0b65a2e00ac7a96f5 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e0096d02e..7eaae9b8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,13 +43,13 @@ script: # deploy development version that includes drafts - TARGET_DIR=./public-dev DRAFTS=true make build - | - if [[ "$TRAVIS_BRANCH" -eq "master" ]]; then + if [[ "$TRAVIS_BRANCH" == "master" ]]; then TARGET_DIR=./public-dev S3_BUCKET=brandur.org-dev make deploy fi # then deploy production - | - if [[ "$TRAVIS_BRANCH" -eq "master" ]]; then + if [[ "$TRAVIS_BRANCH" == "master" ]]; then TARGET_DIR=./public S3_BUCKET=brandur.org make deploy fi