feat(pages): init cf:pages
This commit is contained in:
6
.github/workflows/gh-pages.yaml
vendored
6
.github/workflows/gh-pages.yaml
vendored
@@ -1,8 +1,8 @@
|
||||
name: Build release and push to Github
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
# on:
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
"vite:directory:dev": "vite dev",
|
||||
"vite:directory:build": "vite build",
|
||||
"vite:directory:preview": "vite preview",
|
||||
"offical_update": "node aklive2d offical_update"
|
||||
"offical_update": "node aklive2d offical_update",
|
||||
"cf:pages": "npm run build-all && npm run vite:directory:build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@perfsee/rollup": "^1.10.0",
|
||||
|
||||
Reference in New Issue
Block a user