Skip to content

Commit 4c0cb12

Browse files
committed
fix: correct GitHub Pages build path
1 parent fd41111 commit 4c0cb12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"compile": "father build",
3535
"coverage": "father test --coverage",
3636
"tsc": "tsc --noEmit",
37-
"deploy": "UMI_ENV=gh npm run build && gh-pages -d docs-dist",
37+
"deploy": "cross-env GH_PAGES=1 npm run build && gh-pages -d docs-dist",
3838
"lint": "eslint src/ examples/ tests/ --ext .tsx,.ts,.jsx,.js",
3939
"prepublishOnly": "npm run compile && rc-np",
4040
"prettier": "prettier --write --ignore-unknown .",

0 commit comments

Comments
 (0)