mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-06 12:40:17 +00:00
parent
bf8da56826
commit
51b1b949b9
1 changed files with 11 additions and 18 deletions
29
.travis.yml
29
.travis.yml
|
@ -1,3 +1,5 @@
|
||||||
|
os: linux
|
||||||
|
language: ruby
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -8,17 +10,17 @@ env:
|
||||||
- TRAVIS_REPO_SLUG: mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
- TRAVIS_REPO_SLUG: mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
||||||
- GIT_BRANCH: master
|
- GIT_BRANCH: master
|
||||||
|
|
||||||
matrix:
|
jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
before_install:
|
|
||||||
- export TZ=Africa/Johannesburg
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- mailutils
|
- mailutils
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- export TZ=Africa/Johannesburg
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo add-apt-repository -y ppa:nginx/stable
|
- sudo add-apt-repository -y ppa:nginx/stable
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
@ -66,21 +68,12 @@ before_deploy:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
token: ${GH_TOKEN}
|
||||||
secure: ${GH_TOKEN}
|
file: "FILE TO UPLOAD"
|
||||||
file:
|
cleanup: true
|
||||||
- .latest_release/conf.d.tar.gz
|
|
||||||
- .latest_release/bots.d.tar.gz
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
on:
|
||||||
repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker
|
tags: true
|
||||||
tags: false
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- "master"
|
|
||||||
except:
|
|
||||||
- "/^v[0-9]/"
|
|
||||||
- "/^V.*$/"
|
|
||||||
notifications:
|
notifications:
|
||||||
on_success: change
|
on_success: change
|
||||||
on_failure: always
|
on_failure: always
|
||||||
|
|
Loading…
Add table
Reference in a new issue