diff --git a/docs/site/release.sh b/docs/site/release.sh deleted file mode 100644 index efa97e760..000000000 --- a/docs/site/release.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -vant-cli build-site - -gh-pages -d site --add --dest v3 diff --git a/package.json b/package.json index 8e1aeff14..808075350 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "prepare": "husky install", "release": "vant-cli release --tag next", "test:watch": "vant-cli test --watch", - "release:site": "sh docs/site/release.sh", + "release:site": "vant-cli build-site && gh-pages -d site --add --dest v3", "test:coverage": "open test/coverage/index.html" }, "npm": {