Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Commit 7b47b5e

Browse files
committed
Fix condition for production deployment
1 parent 290c71b commit 7b47b5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# https://codecov.io/gh/nbedos/termtosvg
1111
#
1212
# 2/ Artifact deployment:
13-
# - For tags x.y.z on master branch:
13+
# - For tags x.y.z:
1414
# - Upload Python package to https://pypi.org/project/termtosvg
1515
# - Upload website to gh-pages branch on GitHub
1616
#
@@ -69,7 +69,7 @@ jobs:
6969

7070
- stage: Build and deploy
7171
name: Build and deploy Python package (production)
72-
if: branch = master AND tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$
72+
if: tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$
7373
python: 3.7
7474
dist: xenial
7575
sudo: true
@@ -130,7 +130,7 @@ jobs:
130130

131131
- stage: Build and deploy
132132
name: Build and deploy website (product)
133-
if: branch = master AND tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$
133+
if: tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$
134134
python: 3.7
135135
dist: xenial
136136
sudo: true

0 commit comments

Comments
 (0)