From 9e4728abcce4b01fbf705d6c1d8d6d9c4eb32f25 Mon Sep 17 00:00:00 2001 From: Haoyu Xu Date: Sun, 25 Jun 2023 03:12:58 -0400 Subject: [PATCH] build(actions): update gh-pages and update-charwords --- .github/workflows/gh-pages.yaml | 2 ++ .github/workflows/update-charwords.yaml | 2 +- aklive2d.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 5c85406..ff87046 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -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: diff --git a/.github/workflows/update-charwords.yaml b/.github/workflows/update-charwords.yaml index 49362a6..c2df737 100644 --- a/.github/workflows/update-charwords.yaml +++ b/.github/workflows/update-charwords.yaml @@ -4,7 +4,7 @@ on: push: branches: [ main ] schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * *' jobs: build: diff --git a/aklive2d.js b/aklive2d.js index 4292b5a..d563807 100644 --- a/aklive2d.js +++ b/aklive2d.js @@ -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':