Disable pushing to another repo (Requires more testing a different test repo)

This commit is contained in:
Mitchell Krog 2017-07-23 13:26:08 +02:00
parent fa5a70f143
commit 29494a519b
2 changed files with 12 additions and 14 deletions

View file

@ -100,18 +100,18 @@ git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]"
# Try pushing changes to Google Ghost Spam Repository
# ***************************************************
cd /tmp/
sudo git clone https://github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git
sudo cp $TRAVIS_BUILD_DIR/_generator_lists/bad-referrers.list /tmp/Stop.Google.Analytics.Ghost.Spam.HOWTO/.dev-tools/_input_source/bad-referrers.list
cd /tmp/Stop.Google.Analytics.Ghost.Spam.HOWTO/
ls -la
sudo git remote -v
sudo git remote rm origin
sudo git remote add origin https://${GOOGLESPAM_TOKEN}@github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git
sudo git remote -v
sudo git add -A
sudo git commit -am "Referrers (+)"
sudo git push origin master
#cd /tmp/
#sudo git clone https://github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git
#sudo cp $TRAVIS_BUILD_DIR/_generator_lists/bad-referrers.list /tmp/Stop.Google.Analytics.Ghost.Spam.HOWTO/.dev-tools/_input_source/bad-referrers.list
#cd /tmp/Stop.Google.Analytics.Ghost.Spam.HOWTO/
#ls -la
#sudo git remote -v
#sudo git remote rm origin
#sudo git remote add origin https://${GOOGLESPAM_TOKEN}@github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git
#sudo git remote -v
#sudo git add -A
#sudo git commit -am "Referrers (+)"
#sudo git push origin master
# *************************************************************