Push out releases of conf.d and bots.d in tar.gz format.

This commit is contained in:
Mitchell Krog 2017-07-22 15:16:04 +02:00
parent f1bb32c3ea
commit 068c8b9af9
3 changed files with 9 additions and 1 deletions

View file

@ -80,6 +80,13 @@ sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-robots.sh
sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-google-disavow.sh sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-google-disavow.sh
php ./.dev-tools/generate-google-exclude.php php ./.dev-tools/generate-google-exclude.php
# ***************************************************************
# Gzip Our Latest Release So We can Include it the Travis Release
# ***************************************************************
cd $TRAVIS_BUILD_DIR/.latest_release/
tar -czf conf.d.tar.gz -C $TRAVIS_BUILD_DIR/conf.d/ .
tar -czf bots.d.tar.gz -C $TRAVIS_BUILD_DIR/bots.d/ .
# ************************************* # *************************************
# Add all the modified files and commit # Add all the modified files and commit

0
.latest_release/.keep Normal file
View file

View file

@ -44,7 +44,8 @@ deploy:
api_key: api_key:
secure: ${GH_TOKEN} secure: ${GH_TOKEN}
file: file:
- "conf.d/globalblacklist.conf" - .latest_release/conf.d.tar.gz
- .latest_release/bots.d.tar.gz
skip_cleanup: true skip_cleanup: true
on: on:
repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker