Skip to content

Commit 02b608d

Browse files
author
Bram Ceulemans
committed
deploy both from master and tagged commits
1 parent 02e6343 commit 02b608d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ indent_style = space
55
trim_trailing_whitespace = true
66
insert_final_newline = true
77
indent_size = 4
8+
9+
[{*.yml, *.yaml}]
10+
indent_size = 2

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: python
33
cache: pip
44

55
python:
6-
- '3.8' # this should be in sync with the Dockerfile base image
6+
- '3.8' # this should be in sync with the Dockerfile base image
77

88
services:
99
- docker
@@ -13,5 +13,11 @@ script:
1313
- docker build -t $IMAGE .
1414

1515
deploy:
16-
provider: script
17-
script: .travis/docker-push.sh
16+
- provider: script
17+
script: .travis/docker-push.sh
18+
on:
19+
branch: 'master'
20+
- provider: script
21+
script: .travis/docker-push.sh
22+
on:
23+
tags: true

0 commit comments

Comments
 (0)