diff --git a/.dev-tools/modify-files-and-commit.sh b/.dev-tools/modify-files-and-commit.sh index b69e48447..bb54b8c1b 100755 --- a/.dev-tools/modify-files-and-commit.sh +++ b/.dev-tools/modify-files-and-commit.sh @@ -80,6 +80,13 @@ sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-robots.sh sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-google-disavow.sh 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 diff --git a/.latest_release/.keep b/.latest_release/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/.travis.yml b/.travis.yml index 800cd2b0b..c15cd03c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,8 @@ deploy: api_key: secure: ${GH_TOKEN} file: - - "conf.d/globalblacklist.conf" + - .latest_release/conf.d.tar.gz + - .latest_release/bots.d.tar.gz skip_cleanup: true on: repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker