Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 8a5ddb0

Browse files
blankdotsteemukataja
authored andcommitted
adjust travis with proper directory and condition
1 parent d8c60a7 commit 8a5ddb0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ stages:
1717
- name: integtests
1818
if: type IN (pull_request)
1919
- name: image
20-
if: branch = master
20+
if: branch = master AND type = push
2121
- name: image tag
2222
if: tag =~ /^v([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
2323

@@ -72,7 +72,6 @@ jobs:
7272
- stage: image
7373
name: "Image Publish"
7474
before_script:
75-
- cd deploy
7675
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
7776
script:
7877
- docker build -t cscfi/beacon-python .

0 commit comments

Comments
 (0)