Departure commit

This commit is contained in:
mio
2023-05-01 15:52:32 +08:00
commit 92cafdadb8
61 changed files with 9597 additions and 0 deletions

31
.github/workflows/build-update.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Build Update
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
main:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Build Update
run: |
yarn --frozen-lockfile
yarn build:dir
yarn build-update
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
commit_message: Update app
build_dir: ./build/update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}