File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ stages:
22
22
# - test
23
23
# - build
24
24
- 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
26
27
- name : deploy
27
28
if : branch = master AND type != pull_request
28
29
- name : docs
29
- if : branch = master AND type != pull_request
30
+ if : branch = master AND tag IS present
30
31
31
32
jobs :
32
33
include :
48
49
# - npm run build:mock
49
50
50
51
- stage : release # semantic release - create changelog
52
+ if : branch = master AND tag IS present
51
53
script : skip
52
54
deploy :
53
55
provider : script
56
58
57
59
- stage : release # github release
58
60
if : branch = master AND tag IS present
59
- install : skip
60
61
script : npm run build:mock
61
62
before_deploy :
62
63
- tar czvf webapp.tar.gz -C dist/apps/webapp .
67
68
skip_cleanup : true
68
69
69
70
- stage : deploy
70
- install : skip
71
71
script : npm run build:mock
72
72
deploy :
73
73
provider : pages
78
78
keep-history : true
79
79
80
80
- stage : docs
81
- if : branch = master AND tag IS present
82
- install : skip
83
81
script : npm run doc:build
84
82
deploy :
85
83
provider : pages
You can’t perform that action at this time.
0 commit comments