Skip to content

Update firmware version list #318

Update firmware version list

Update firmware version list #318

name: Update firmware version list
on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # UTC+8 6:00
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Create local changes
run: |
bash tools.sh fetch_and_commit
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}