Skip to content

Commit

Permalink
I hate Bash so much
Browse files Browse the repository at this point in the history
Former-commit-id: b9e991d
  • Loading branch information
brandur committed Sep 2, 2018
1 parent 562b362 commit c734ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c734ff2

Please sign in to comment.