Skip to content

Commit 88a8fec

Browse files
Fix Travis not pushing build number tag
1 parent 8073185 commit 88a8fec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ before_deploy:
3232
- git remote set-url origin https://github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration.git
3333
- export GIT_TAG=v1.0.$TRAVIS_BUILD_NUMBER
3434
- git tag $GIT_TAG -a -m "Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
35-
- git push origin --tags
35+
- git push -q https://${GH_TOKEN}@github.com/Stevie-Ray/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --tags
3636
- ls -aR
3737
deploy:
3838
provider: releases
3939
api_key:
4040
secure: ${GH_TOKEN}
4141
file:
42-
- test.txt
42+
- .htaccess
43+
- referral-spam.conf
4344
skip_cleanup: true
4445
on:
45-
tags: true
46+
tags: false
4647
all_branches: true
4748
notifications:
4849
email: false

0 commit comments

Comments
 (0)