mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-19 21:03:51 -07:00
Fix syntax error with traditional if-clause instead of escaping bracket
This commit is contained in:
parent
47201822f9
commit
a5d5831a2e
1 changed files with 4 additions and 3 deletions
|
@ -16,5 +16,6 @@ script:
|
|||
|
||||
after_success:
|
||||
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
- [ "$TRAVIS_BRANCH" == "master" ] && docker push $DOCKER_REPO:$TAG
|
||||
# Only push to Docker Hub if this is the master branch
|
||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then \
|
||||
docker push $DOCKER_REPO:$TAG \
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue