Skip to content

Auto update

Auto update #1

Workflow file for this run

name: Auto update
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
auto-update:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Update submodules
run: git submodule update --remote
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: |
npm ci
npm update antd
- name: Build
run: npm run build
- name: Commit changes
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add --all
git commit -m "Automated build"
git push