Skip to content

Commit 76fc27e

Browse files
authored
Fix build (#289)
1 parent 6a82e7c commit 76fc27e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ case "$1" in
3939
;;
4040

4141
deploy)
42-
if [[ -n "$TRAVIS_TAG" ]] && [[ "$TEST_MODE" = "local" ]] && [[ "$TRAVIS_PULL_REQUEST_SLUG" = "ascoderu/opwen-cloudserver" ]]; then
42+
if [[ "$TEST_MODE" = "local" ]]; then
4343
DOCKER_TAG="$TRAVIS_TAG" make release deploy
4444
fi
4545
;;

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ before_deploy: ./.travis.sh before_deploy
2020
deploy:
2121
- provider: script
2222
script: ./.travis.sh deploy
23+
on: # yamllint disable rule:truthy
24+
repo: ascoderu/opwen-cloudserver
25+
tags: true

0 commit comments

Comments
 (0)