diff --git a/package.json b/package.json index 31bd8509..74b8b9d4 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "commit": "git-cz", "prepare": "husky install", "test": "", - "deploy": "push-dir --dir=dist --branch=gh-pages --cleanup" + "deploy": "push-dir --dir=dist --branch=gh-pages --cleanup", + "d2": "git subtree push --prefix dist Web gh-pages" }, "dependencies": { "@opentranslate/baidu": "^1.4.2",