build(actions): update gh-pages and update-charwords
This commit is contained in:
2
.github/workflows/gh-pages.yaml
vendored
2
.github/workflows/gh-pages.yaml
vendored
@@ -28,6 +28,8 @@ jobs:
|
|||||||
run: npm i
|
run: npm i
|
||||||
- name: Build all
|
- name: Build all
|
||||||
run: npm run build-all
|
run: npm run build-all
|
||||||
|
- name: Build directory
|
||||||
|
run: npm run vite:directory:build
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: s0/git-publish-subdir-action@develop
|
uses: s0/git-publish-subdir-action@develop
|
||||||
env:
|
env:
|
||||||
|
|||||||
2
.github/workflows/update-charwords.yaml
vendored
2
.github/workflows/update-charwords.yaml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ async function main() {
|
|||||||
assert(OPERATOR_NAMES.length !== 0, 'Please set the operator name.')
|
assert(OPERATOR_NAMES.length !== 0, 'Please set the operator name.')
|
||||||
fork(path.join(__projectRoot, 'vite.config.js'), [op, OPERATOR_NAMES])
|
fork(path.join(__projectRoot, 'vite.config.js'), [op, OPERATOR_NAMES])
|
||||||
return
|
return
|
||||||
case 'charword':
|
case 'charwords':
|
||||||
await charwordTable.process()
|
await charwordTable.process()
|
||||||
process.exit(0)
|
process.exit(0)
|
||||||
case 'music':
|
case 'music':
|
||||||
|
|||||||
Reference in New Issue
Block a user