Skip to content

Commit

Permalink
feat deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hyl committed Dec 28, 2024
1 parent 7b51998 commit bc6c0b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 56 deletions.
55 changes: 0 additions & 55 deletions docs/.vitepress/deploy.js

This file was deleted.

3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "vitepress",
"build": "vitepress build",
"preview": "vitepress preview"
"preview": "vitepress preview",
"release": "vitepress build && sh release.sh"
},
"devDependencies": {
"@arco-design/web-vue": "^2.56.2",
Expand Down
1 change: 1 addition & 0 deletions docs/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scp -r .vitepress/dist [email protected]:/www/wwwroot/vue-form-craft
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build": "pnpm -C packages/vue-form-craft build",
"small-v": "pnpm -C packages/vue-form-craft v",
"release": "pnpm -C packages/vue-form-craft release",
"release:docs": "pnpm -C docs release",
"docs:dev": "pnpm -C docs dev",
"docs:build": "pnpm -C docs build",
"docs:preview": "pnpm -C docs preview",
Expand Down

0 comments on commit bc6c0b3

Please sign in to comment.