mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Some changes to Travis and Modify/Commit Script
This commit is contained in:
parent
669a9d8332
commit
6a91d8a63f
2 changed files with 3 additions and 8 deletions
|
@ -41,7 +41,7 @@ script:
|
|||
- STATUSCODE=$(curl -A "masscan" http://localhost:9000/index.php &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||
- STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://100dollars-seo.com &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||
- STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://zx6.ru &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||
- travisCI/change-file.sh
|
||||
- travisCI/modify-files-and-commit.sh
|
||||
|
||||
before_deploy:
|
||||
- travisCI/deploy-package.sh
|
||||
|
|
|
@ -23,14 +23,9 @@ git checkout master
|
|||
# Modify our file and make sure Travis is owner
|
||||
sudo $TRAVIS_BUILD_DIR/travisCI/modify-globalblacklist.sh
|
||||
sudo $TRAVIS_BUILD_DIR/travisCI/modify-readme.sh
|
||||
sudo chown -R travis:travis $TRAVIS_BUILD_DIR/*
|
||||
#sudo chown -R travis:travis $TRAVIS_BUILD_DIR/*
|
||||
|
||||
# Add the modified file to the and commit it
|
||||
#git add $TRAVIS_BUILD_DIR/README.md
|
||||
#git add $TRAVIS_BUILD_DIR/AUTO-CONFIGURATION.md
|
||||
#git add $TRAVIS_BUILD_DIR/MANUAL-CONFIGURATION.md
|
||||
#git add $TRAVIS_BUILD_DIR/conf.d/globalblacklist.conf
|
||||
#git add $TRAVIS_BUILD_DIR/_sample_config_files/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
|
||||
# Add the modified files and commit
|
||||
git add -A
|
||||
git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]"
|
||||
|
Loading…
Add table
Reference in a new issue