File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- " 10"
4
-
4
+ os : linux
5
+ dist : xenial
6
+ arch : amd64
5
7
cache :
6
8
directories :
7
9
- node_modules
8
-
9
10
jobs :
10
11
include :
11
12
- stage : test
12
13
install :
13
14
- npm install
14
15
script :
15
16
- npm run test:ci
17
+ - stage : release
18
+ install :
19
+ - npm install
20
+ script :
21
+ - npm run prepublishOnly
22
+ deploy :
23
+ provider : npm
24
+
25
+ api_key :
26
+ secure : npdpG0sNovdDNHNlnClzkHWkvMQqpAiSEukUVw3fVRYerENzdvI9rdz5KSrdztDsQADlyYeNHXNjnoAx81nSEZAA9XvA20W+Gaf114MIWfz80dcCb/qKwDAKaXM6SZYo1XZqEvqYRkKeXYAR4T6HIrMF8JZCwJZacR2MCoX2gywFheT3IB43JOkYrSDr/czdkwM3Ar3PY8QXz+JhBt/WuMS/fHZm4X5oAa6TCUH68jfPdzc4g6+IEnYagDbYmqDwnHuxmPqSGFijjynDrZgnM2KiQCZzVAufGccy+8xTgywrEShnKJF5xO/S+CG3Sn/jX53ib56HKZ8D/BNapR9I8MLtcsqzHn1wTCIF/4jJ26h5Ka3LPPaOfNwZboBbslOYIReS1wHoTBDogS37MaMo56S5f4It+lCARUuCQ9ToKp5ZRJatJRymtupa0TmaKycBDrhTyAMtxaNcFfnD49OD0FJTOl8vokOiy7fp74mi9A2KZdx0YO6QrmuVMf7uvBCXldKsfm0GF3LK0mCypa/57mEp4gIgEwfAKkz+icUows2feTa8Js2KcFVXiXYnOOFktr+TmntbeBHPNGyvzLuslpszi7J6lF/+02ODwCQOeuXIDxU4N8//cQFz9ZA9+lZ1nf1BL6yi27uQciNTg9QN+Ticcx4qU0uByLupfwTgbHk=
27
+ on :
28
+ tags : true
29
+ repo : NervJS/taro-ui
30
+ branch : master
16
31
- stage : deploy
17
- if : (branch = master) AND (NOT (type IN (pull_request)))
32
+ if : " (branch = master) AND (NOT (type IN (pull_request)))"
18
33
install :
19
34
- npm install
20
35
script :
26
41
- git add .
27
42
- git commit -m "Update Document"
28
43
- git push --force --quiet "https://${GITHUB_TOKEN}@${GH_REF}" master:gh-pages
29
-
30
44
env :
31
45
global :
32
46
- GH_REF : github.com/NervJS/taro-ui.git
You can’t perform that action at this time.
0 commit comments