Skip to content

Commit cec0b07

Browse files
authored
refine release job (#17)
* refine release job * fix indentation
1 parent 01ad97d commit cec0b07

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.travis.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,9 @@ script:
2121
yarn workspace @kenshooui/react-tree-docs chromatic;
2222
fi
2323

24-
before_deploy:
25-
- git config --local user.name "${GIT_NAME}"
26-
- git config --local user.email "${GIT_EMAIL}"
27-
- git remote rm origin
28-
- git remote add origin https://${GIT_NAME}@github.com/kenshoo/react-tree.git
29-
- git fetch origin --tags
30-
- git checkout master && git pull origin master
31-
- git branch --set-upstream-to origin/master master
32-
- yarn build
33-
3424
deploy:
3525
- provider: script
3626
script: yarn workspace @kenshooui/react-tree release
37-
skip-cleanup: true
27+
skip-cleanup: true
28+
on:
29+
all_branches: true

0 commit comments

Comments
 (0)