Correction to deploy section of travis.yml

This commit is contained in:
Mitchell Krog 2020-03-10 14:01:07 +02:00
parent fc02d65142
commit bf8da56826
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -1,7 +1,3 @@
addons:
apt:
packages:
- mailutils
dist: bionic dist: bionic
env: env:
@ -18,6 +14,11 @@ matrix:
before_install: before_install:
- export TZ=Africa/Johannesburg - export TZ=Africa/Johannesburg
addons:
apt:
packages:
- mailutils
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
@ -75,12 +76,11 @@ deploy:
repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker
tags: false tags: false
branches: branches:
only:
- "master"
except: except:
- "/^v[0-9]/" - "/^v[0-9]/"
- "/^V.*$/" - "/^V.*$/"
branches:
only:
- "master"
notifications: notifications:
on_success: change on_success: change
on_failure: always on_failure: always