From cc1c6cc401244b4e2490a896718d6862977b451e Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Sun, 23 Jul 2017 11:26:29 +0200 Subject: [PATCH] Readme Update / Test Pushing to Another Repo --- .dev-tools/modify-files-and-commit.sh | 14 ++++++++++++++ .travis.yml | 2 +- README.md | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.dev-tools/modify-files-and-commit.sh b/.dev-tools/modify-files-and-commit.sh index bb54b8c1b..0eca4bd7d 100755 --- a/.dev-tools/modify-files-and-commit.sh +++ b/.dev-tools/modify-files-and-commit.sh @@ -95,6 +95,20 @@ tar -czf bots.d.tar.gz -C $TRAVIS_BUILD_DIR/bots.d/ . git add -A git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]" +# *************************************************** +# Try pushing changes to Google Ghost Spam Repository +# *************************************************** + +cd /home/travis/build/mitchellkrogza/ +sudo git clone https://github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO.git +sudo cp $TRAVIS_BUILD_DIR/_generator_lists/bad-referrers.list /home/travis/build/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO/.dev-tools/_input_source/bad-referrers.list +cd /home/travis/build/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO/ +git remote rm origin +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/Stop.Google.Analytics.Ghost.Spam.HOWTO.git +git add -A +git commit -am "Referrers (+)" +sudo git push origin master + # ************************************************************* # Travis now moves to the before_deploy: section of .travis.yml # ************************************************************* diff --git a/.travis.yml b/.travis.yml index c15cd03c7..125838f17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ install: script: - bash .dev-tools/install-nginx.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: - bash .dev-tools/deploy-package.sh diff --git a/README.md b/README.md index 9a22f18ae..53b2b4884 100755 --- a/README.md +++ b/README.md @@ -600,6 +600,7 @@ SOFTWARE. - https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker - https://github.com/mitchellkrogza/Badd-Boyz-Hosts +- https://github.com/mitchellkrogza/Stop.Google.Analytics.Ghost.Spam.HOWTO - https://github.com/mitchellkrogza/fail2ban-useful-scripts - https://github.com/mitchellkrogza/linux-server-administration-scripts - https://github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration