Test Push to Another Repo (3)

This commit is contained in:
Mitchell Krog 2017-07-23 12:02:56 +02:00
parent 088215cd76
commit 9ece98fe95
3 changed files with 19 additions and 20 deletions

View file

@ -96,6 +96,24 @@ git add -A
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
ls -la /tmp/
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 add -A
sudo git commit -am "Referrers (+)"
sudo git push origin master
# *************************************************************
# Travis now moves to the before_deploy: section of .travis.yml
# *************************************************************