Skip to content

Commit 896d387

Browse files
committed
ci(build): comment some stages in CI
comment some stages in ci
1 parent 085a84f commit 896d387

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.travis.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ stages:
2121
# - lint
2222
# - test
2323
# - build
24-
- name: release
25-
# if: branch = master AND type IN (push)
26-
if: branch = master AND tag IS present
24+
# - name: release
25+
## if: branch = master AND type IN (push)
26+
# if: branch = master AND tag IS present
2727
- name: deploy
2828
if: branch = master AND type != pull_request
2929
- name: docs
@@ -48,24 +48,24 @@ jobs:
4848
# script:
4949
# - npm run build:mock
5050

51-
- stage: release # semantic release - create changelog
52-
if: branch = master AND tag IS present
53-
script: skip
54-
deploy:
55-
provider: script
56-
script: npm run release
57-
skip-cleanup: true
51+
# - stage: release # semantic release - create changelog
52+
# if: branch = master AND tag IS present
53+
# script: skip
54+
# deploy:
55+
# provider: script
56+
# script: npm run release
57+
# skip-cleanup: true
5858

59-
- stage: release # github release
60-
if: branch = master AND tag IS present
61-
script: npm run build:mock
62-
before_deploy:
63-
- tar czvf webapp.tar.gz -C dist/apps/webapp .
64-
deploy:
65-
- provider: releases
66-
api_key: $GITHUB_TOKEN
67-
file: './webapp.tar.gz'
68-
skip_cleanup: true
59+
# - stage: release # github release
60+
# if: branch = master AND tag IS present
61+
# script: npm run build:mock
62+
# before_deploy:
63+
# - tar czvf webapp.tar.gz -C dist/apps/webapp .
64+
# deploy:
65+
# - provider: releases
66+
# api_key: $GITHUB_TOKEN
67+
# file: './webapp.tar.gz'
68+
# skip_cleanup: true
6969

7070
- stage: deploy
7171
script: npm run build:mock

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
"husky": {
7878
"hooks": {
79-
79+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
8080
"pre-commit": "lint-staged"
8181
}
8282
},

0 commit comments

Comments
 (0)