Ensure CNAME survives doc rebuilds

This commit is contained in:
Tim Dorr
2015-10-13 15:09:32 -04:00
parent 17661054d4
commit 37e00083d0
2 changed files with 2 additions and 1 deletions

1
CNAME Normal file
View File

@@ -0,0 +1 @@
redux.js.org

View File

@@ -25,7 +25,7 @@
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build -g rackt/redux",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:rackt/redux gh-pages --force"
"docs:publish": "npm run docs:clean && npm run docs:build && cp CNAME _book && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:rackt/redux gh-pages --force"
},
"repository": {
"type": "git",