remove commit from build-firmware (#1515)
This commit is contained in:
parent
e1979b0865
commit
be780ff893
|
@ -3,34 +3,6 @@ name: Firmware CI
|
||||||
on: [push,pull_request]
|
on: [push,pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
config:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event.pusher }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Generate Configs
|
|
||||||
working-directory: ./firmware/
|
|
||||||
run: sh gen_config.sh
|
|
||||||
|
|
||||||
- name: Generate Live Documentation
|
|
||||||
working-directory: ./firmware/
|
|
||||||
run: sh gen_live_documentation.sh
|
|
||||||
|
|
||||||
- name: Commit changes
|
|
||||||
run: |
|
|
||||||
git config --local user.email "action@github.com"
|
|
||||||
git config --local user.name "GitHub build-firmware Action"
|
|
||||||
git commit -am "Auto-generated configs and docs" 2>&1 | grep -E '(nothing to commit|changed)'
|
|
||||||
|
|
||||||
- name: Push configs
|
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ github.token }}
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: config
|
needs: config
|
||||||
|
|
Loading…
Reference in New Issue