build(actions): update gh-pages and update-charwords

This commit is contained in:
Haoyu Xu
2023-06-25 03:12:58 -04:00
parent 048624a033
commit 9e4728abcc
3 changed files with 4 additions and 2 deletions

View File

@@ -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:

View File

@@ -4,7 +4,7 @@ on:
push: push:
branches: [ main ] branches: [ main ]
schedule: schedule:
- cron: '0 0 * * 0' - cron: '0 0 * * *'
jobs: jobs:
build: build:

View File

@@ -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':