Skip to content

to much deleted

to much deleted #189

name: Build config zip
on:
workflow_dispatch: # Manually start a workflow
push:
paths:
- 'raw/**'
jobs:
genpy:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Run gen.py
run: |
python gen.py
- name: Transfer the new config files into the repository
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add -f ./*
git commit -m ${GITHUB_SHA}
- name: Push the firmware files to branch firmware
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'main'