Skip to content

Commit

Permalink
chore(ci): run publish on tagged commits
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Dec 5, 2017
1 parent faebda7 commit 17b84a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ stages:
- name: deploy
if: branch = development AND type = push
- name: publish
if: branch = development AND type = push AND tag =~ ^v2
if: tag =~ ^v2
- name: sauce-tests
if: ( branch = development AND type = push ) OR type = pull_request

Expand Down Expand Up @@ -131,7 +131,6 @@ jobs:
app: ngx-universal
on:
tags: true
branch: development
- stage: publish
script: npm run build
before_deploy: "cd dist"
Expand All @@ -143,7 +142,6 @@ jobs:
skip_cleanup: true
on:
tags: true
branch: development

cache:
apt: true
Expand Down

0 comments on commit 17b84a2

Please sign in to comment.