33 lines
705 B
YAML
33 lines
705 B
YAML
name: Update Offical Dyn Info
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '30 10 * * *'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use PNPM
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: false
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
cache: 'pnpm'
|
|
- name: Install dependencies
|
|
run: pnpm i
|
|
- name: Update offical dyn info
|
|
run: pnpm run offical_update
|
|
- name: Commit changes if any
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "chore(offical update): auto update"
|