Skip to content

Update init.bat

Update init.bat #122

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@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run gen.py
run: |
python gen.py
- name: Transfer the new config files into the repository
run: |
git config --local user.name "Github BUILD"
git config user.email [email protected]
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'