Files
aklive2d/.github/workflows/update.yaml
2025-05-04 19:59:14 +08:00

32 lines
659 B
YAML

name: Update
env:
DO_NOT_TRACK: 1
on:
schedule:
- cron: '30 10 * * *'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Use Bun
uses: oven-sh/setup-bun@v2
- run: bun install
- name: Update
run: bun run update
- name: Commit changes if any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: auto update'