Skip to content

Commit

Permalink
ammend commit 572d217
Browse files Browse the repository at this point in the history
Brian J. Cardiff committed Jun 28, 2016

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
1 parent 572d217 commit 60fec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ deploy:
condition: $ARCH = x86_64
skip_cleanup: true
after_deploy: |
if ["$TRAVIS_TAG" != ""] && ["$ARCH" = x86_64]
if ["$TRAVIS_TAG" != ""] && ["$ARCH" = "x86_64"]
then
aws s3api put-object --bucket crystal-api --key api/index.html --website-redirect-location /api/$TRAVIS_TAG
fi

1 comment on commit 60fec38

@jhass
Copy link
Member

@jhass jhass commented on 60fec38 Jun 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spaces inside [ ] are mandatory, so if [ -n "$TRAVIS_TAG" -a "$ARCH" = "x86_64" ]; then. But can't the already installed dpl gem do this too?

Please sign in to comment.