mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-05 04:00:13 +00:00
Test Push to Another Repo (3)
This commit is contained in:
parent
088215cd76
commit
9ece98fe95
3 changed files with 19 additions and 20 deletions
|
@ -59,25 +59,6 @@ git tag $GIT_TAG -a -m "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER"
|
||||||
|
|
||||||
sudo git push origin master && git push origin master --tags
|
sudo git push origin master && git push origin master --tags
|
||||||
|
|
||||||
|
|
||||||
# ***************************************************
|
|
||||||
# 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://w7FDb+tofB5e+ej2GQDvOtlI75wADWuEsgYKCbiFnC4YKLGaN/NyNaAMuOdCPaLL6yWieHCTOQyG/zjVxZe8ST4R+2XQHv1x1PldbEHKnox+bAnrB9n3qZ0a8AOBtceI33gbrpL1wnZiVdcCh5HFlhvEOsiXhg+tc4BaIUZnA981dcf0EmIvWHWesmrgHVVh7x5Isgs5ecEpxyZZqn8FkHMgTnYe2s3IIlcIQhdvK2AhI33zz0fb1B9V/ll6UtAmbLKrYcN7waw/ZRzRDxuzJbCV6VCCFKzXo2DEs5NlEoa0P2bJAEj9dS5Q+1DGK5u1llbnycUBaS0phURb3gg8bcjX/9Ovlz/qnpw9EfimGxE7T6WjfI3sOQ9mFszgs/BigtZkay4ijGRNejrSiyC+/du/B0srto032HD8LTJBkbW5/OW9sr2JDmnOHJiceks4C8WYBVgvslLfnTD6tDgvJ88kjpk33Juq5ULm5ZcsJNQn+Dvn1btWQc1y9aRfktmyrTHoGTUXTx6c/YWXSdhuXVGCGgwxQ6PoOmhNeETuCKaA0dwoK1sACvgxJRDZCQpj7DneVGl7qqwr7LHQMrDMID+iXfr6ZMbFtC4HmK1PaDSxnPON/ecvEJLbUVRheo/70lYCYj2rlc7ytAUvMZ29Hzc353/GqF5FqxzX4kEubi8=@github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git
|
|
||||||
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
|
|
||||||
|
|
||||||
# *************************************************************************
|
# *************************************************************************
|
||||||
# Now TravisCI moves into the deploy: section of TravisCI - see .travis.yml
|
# Now TravisCI moves into the deploy: section of TravisCI - see .travis.yml
|
||||||
# *************************************************************************
|
# *************************************************************************
|
||||||
|
|
|
@ -96,6 +96,24 @@ git add -A
|
||||||
git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]"
|
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
|
# Travis now moves to the before_deploy: section of .travis.yml
|
||||||
# *************************************************************
|
# *************************************************************
|
||||||
|
|
|
@ -35,7 +35,7 @@ install:
|
||||||
script:
|
script:
|
||||||
- bash .dev-tools/install-nginx.sh
|
- bash .dev-tools/install-nginx.sh
|
||||||
- bash .dev-tools/run-curl-tests.sh
|
- bash .dev-tools/run-curl-tests.sh
|
||||||
- bash .dev-tools/modify-files-and-commit.sh
|
- bash -x .dev-tools/modify-files-and-commit.sh
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- bash -x .dev-tools/deploy-package.sh
|
- bash -x .dev-tools/deploy-package.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue