mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Push out releases of conf.d and bots.d in tar.gz format.
This commit is contained in:
parent
f1bb32c3ea
commit
068c8b9af9
3 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
0
.latest_release/.keep
Normal file
0
.latest_release/.keep
Normal file
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue