File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 4646 },
4747 "repository" : {
4848 "type" : " git" ,
49- "url" : " git@github.ibm. com:peretz /carbon-components-angular.git"
49+ "url" :
" [email protected] :ibm /carbon-components-angular.git" 5050 },
5151 "license" : " Apache-2" ,
5252 "author" : " IBM" ,
Original file line number Diff line number Diff line change @@ -8,3 +8,19 @@ if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then
88fi
99
1010npm run semantic-release
11+
12+ # deploy to gh pages
13+ if [[ $TRAVIS_BRANCH == " master" ]]; then
14+ mkdir pages
15+ cp -R dist/docs/documentation pages/
16+ cp -R dist/docs/storybook/* pages
17+
18+ git config user.name " Carbon Deploy"
19+
20+ cd pages
21+ git init
22+ git add .
23+ git commit -m " Deploy to GitHub Pages"
24+ git push --force
" [email protected] :ibm/carbon-components-angular.git" master:gh-pages
> /dev/null
2>&1 25+ exit 0;
26+ fi
You can’t perform that action at this time.
0 commit comments