Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
chore(package): Updating gh-pages deploy script.
Browse files Browse the repository at this point in the history
- Script was broken due to CNAME file being deleted
- Added command to recreate CNAME file each time
- This avoids demo / documentation site going down
  • Loading branch information
AaronCoplan committed Jan 29, 2019
1 parent 55937de commit 0928f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"start": "yarn run copytablercsstodist && rollup -c -w",
"prepare": "yarn run build && yarn run copytablercsstodist",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"deploy": "echo \"tabler-react.com\" > example/build/CNAME && gh-pages -d example/build",
"precommit": "yarn pretty-quick --staged && lint-staged && cd scripts && python propscheck.py && cd .. && ./scripts/runflow",
"flow:copy-source": "node scripts/flow-copy-source.js",
"format": "prettier --write \"+(src|example)/**/*.js\"",
Expand Down

0 comments on commit 0928f51

Please sign in to comment.