Skip to content

Commit deac7a9

Browse files
committed
fix: build
build fix
1 parent ed91ffc commit deac7a9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ stages:
2222
# - test
2323
# - build
2424
- name: release
25-
if: branch = master AND type IN (push)
25+
# if: branch = master AND type IN (push)
26+
if: branch = master AND tag IS present
2627
- name: deploy
2728
if: branch = master AND type != pull_request
2829
- name: docs
29-
if: branch = master AND type != pull_request
30+
if: branch = master AND tag IS present
3031

3132
jobs:
3233
include:
@@ -48,6 +49,7 @@ jobs:
4849
# - npm run build:mock
4950

5051
- stage: release # semantic release - create changelog
52+
if: branch = master AND tag IS present
5153
script: skip
5254
deploy:
5355
provider: script
@@ -56,7 +58,6 @@ jobs:
5658

5759
- stage: release # github release
5860
if: branch = master AND tag IS present
59-
install: skip
6061
script: npm run build:mock
6162
before_deploy:
6263
- tar czvf webapp.tar.gz -C dist/apps/webapp .
@@ -67,7 +68,6 @@ jobs:
6768
skip_cleanup: true
6869

6970
- stage: deploy
70-
install: skip
7171
script: npm run build:mock
7272
deploy:
7373
provider: pages
@@ -78,8 +78,6 @@ jobs:
7878
keep-history: true
7979

8080
- stage: docs
81-
if: branch = master AND tag IS present
82-
install: skip
8381
script: npm run doc:build
8482
deploy:
8583
provider: pages

0 commit comments

Comments
 (0)