Skip to content

Commit

Permalink
chore(todomvc): fix publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Oct 24, 2016
1 parent 879f2ce commit 5990b0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .cz-config.js
Expand Up @@ -27,7 +27,8 @@ module.exports = {
{name: 'Providers'},
{name: 'cerebral-router'},
{name: 'function-tree'},
{name: 'demos'}
{name: 'demos'},
{name: 'todomvc'}
],

// it needs to match the value for field type. Eg.: 'fix'
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -20,7 +20,6 @@ after_success:
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_NODE_VERSION == '6' ]]; then
git config --global user.email "cerebraljs@gmail.com" ;
git config --global user.name "Cerebral JS" ;
git remote add todomvc git@github.com:cerebral/cerebral-todomvc.git;
npm run ci;
fi
branches:
Expand Down
4 changes: 3 additions & 1 deletion packages/cerebral-todomvc/package.json
Expand Up @@ -3,10 +3,12 @@
"version": "0.2.0",
"private": true,
"author": "Christian Alfoni <christianalfoni@gmail.com>",
"homepage": "http://cerebral.github.io/cerebral-todomvc/",
"contributors": [
"Henri Hulski <henri.hulski@gazeta.pl>"
],
"devDependencies": {
"gh-pages": "^0.11.0",
"gh-pages-with-token": "^1.0.0",
"react-scripts": "0.7.0"
},
Expand All @@ -25,6 +27,6 @@
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"prepublish": "npm run build",
"ci": "gh-pages-with-token -d build -o todomvc"
"ci": "gh-pages -d build -r https://cerebraljs:$GH_TOKEN@github.com/cerebral/cerebral-todomvc.git"
}
}

0 comments on commit 5990b0a

Please sign in to comment.