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