From 922f29ba289f7e02ee262c9af305f484c12de0d9 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Fri, 22 Mar 2019 14:40:49 +0800 Subject: [PATCH] chore: Add CNAME --- CNAME | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000..224102eb87 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +ant.design diff --git a/package.json b/package.json index e7bd5f17c7..1cdf70a590 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "start": "rimraf _site && mkdir _site && node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js", "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js", "site": "cross-env NODE_ENV=production bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", - "predeploy": "antd-tools run clean && npm run site && cp netlify.toml _site && cp -r .circleci _site", + "predeploy": "antd-tools run clean && npm run site && cp netlify.toml CNAME _site && cp -r .circleci _site", "deploy": "bisheng gh-pages --push-only", "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages", "pub": "antd-tools run pub",