Skip to content

Commit 07e22d0

Browse files
committed
updated init:deploy script
1 parent b619090 commit 07e22d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"preinit:dist": "rimraf dist/",
1414
"init:dist": "mkdir dist && cp assets/* dist/",
1515
"preinit:deploy": "npm run init:dist",
16-
"init:deploy": "git clone https://github.com/piotrwitek/react-redux-typescript-starter-kit --branch gh-pages dist",
16+
"init:deploy": "git clone https://github.com/piotrwitek/react-redux-typescript-starter-kit --branch gh-pages gh-pages-clone",
17+
"postinit:deploy": "mv gh-pages-clone/.git dist/.git && rimraf gh-pages-clone/",
1718
"deploy": "cd dist && git checkout gh-pages && git add --all && git commit -m \"New Release\" && git push",
1819
"precommit": "npm run lint",
1920
"prepush": "npm run lint && npm test",

0 commit comments

Comments
 (0)