Skip to content

Commit

Permalink
deploy: script for deploy document site
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Oct 20, 2021
1 parent aeb1e8d commit ca10cc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pinyin.hotoo.me
pinyin.js.org
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"scripts": {
"start": "dumi dev",
"doc:build": "dumi build",
"doc:deploy": "npm run doc:build && node ./scripts/publish-doc.sh",
"doc:deploy": "npm run doc:build && cp CNAME docs-dist/dist && gh-pages -d docs-dist/dist",
"lint": "eslint ./lib/ ./bin/ ./tests/",
"test-cli": "mocha -R spec --timeout 5000 tests/cli.test.js",
"test-npm": "istanbul cover _mocha -- --harmony --reporter spec --timeout 2000 --inline-diffs ./tests/test.js",
Expand All @@ -58,6 +58,7 @@
"dumi": "^1.1.30",
"eslint": "~0.24.0",
"expect.js": "~0.3.1",
"gh-pages": "^3.2.3",
"istanbul": "~0.3.17",
"mocha": "^8.3.2",
"mock-aws-s3": "^4.0.2",
Expand Down

0 comments on commit ca10cc6

Please sign in to comment.