Skip to content

Update

Update #30

Workflow file for this run

name: Update
on:
workflow_dispatch:
schedule:
- cron: '20 */4 * * *'
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Handle schema
run: |
.\script\handle-schema.ps1
- name: Commit and push changes
run: |
git config --local user.email "abgohxf@outlook.com"
git config --local user.name "${{ github.actor }}"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git add .
git commit -m "[bot] update README and generate compressed files"
git push