Skip to content

Commit 9d19a6d

Browse files
change git push command
1 parent ec65098 commit 9d19a6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

travis-ci/deploy2.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ sudo chown travis:travis $TRAVIS_BUILD_DIR/globalblacklist.conf
1818
git add $TRAVIS_BUILD_DIR/globalblacklist.conf
1919
#git add .
2020
#git add $TRAVIS_BUILD_DIR/build.txt
21-
sudo git commit -am "Update build version file with $TRAVIS_BUILD_NUMBER"
22-
sudo git push origin master -f && git push origin master --tags -f
21+
git commit -am "Update build version file with $TRAVIS_BUILD_NUMBER"
22+
#sudo git push origin master -f && git push origin master --tags -f
23+
git push https://${GH_TOKEN}@github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
2324
ls -aR
2425
#cat $TRAVIS_BUILD_DIR/globalblacklist.conf
25-
ls -la $TRAVIS_BUILD_DIR
26+
#ls -la $TRAVIS_BUILD_DIR
2627
#git branch -a
2728
#echo $TRAVIS_BRANCH
2829
#else echo Tag already exists!; fi

0 commit comments

Comments
 (0)