mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
🚀 Chore(ci/cd): improve the joint construction and deployment of Demo and Test content
- Demo: https://demo.fixit.lruihao.cn/ - Test: https://demo.fixit.lruihao.cn/test/
This commit is contained in:
+7
-6
@@ -23,11 +23,11 @@
|
||||
"scripts": {
|
||||
"build": "hugo --source=demo --themesDir ../.. --theme $PWD --gc --minify --logLevel info",
|
||||
"build:test": "hugo --source=test --themesDir ../.. --theme $PWD --gc --minify --logLevel info",
|
||||
"server": "hugo server --source=demo --themesDir ../.. --theme $PWD -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
||||
"server:production": "npm run server -- -e production",
|
||||
"server:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
||||
"build:vercel": "npm run build && npm run build:test && ./move-public.sh",
|
||||
"preview": "npm run build:vercel && serve public",
|
||||
"dev": "hugo server --source=demo --themesDir ../.. --theme $PWD -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
||||
"test": "hugo server --source=test --themesDir ../.. --theme $PWD -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
||||
"test:production": "npm run test -- -e production",
|
||||
"dev:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
||||
"version": "fixit-releaser version --prod",
|
||||
"postversion": "git push && git push --tags && npm run release",
|
||||
"release": "fixit-releaser changelog",
|
||||
@@ -35,9 +35,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hugo-fixit/fixit-releaser": "^1.2.3",
|
||||
"husky": "^9.1.7"
|
||||
"husky": "^9.1.7",
|
||||
"serve": "^14.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=20"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user