mirror of https://github.com/arendst/Tasmota.git
Test with git commands only
This commit is contained in:
parent
736e66ed5d
commit
d6715273c1
|
@ -1324,6 +1324,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Download artifacts
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: firmware
|
||||||
|
@ -1362,18 +1364,16 @@ jobs:
|
||||||
run: ls -R ./*
|
run: ls -R ./*
|
||||||
|
|
||||||
- name: Push Firmware files to https://github.com/arendst/Tasmota-firmware
|
- name: Push Firmware files to https://github.com/arendst/Tasmota-firmware
|
||||||
uses: andstor/copycat-action@v3
|
run: |
|
||||||
with:
|
git config user.name "Platformio BUILD"
|
||||||
personal_token: ${{ secrets.API_TOKEN_GITHUB }}
|
git config user.email github-actions@github.com
|
||||||
src_path: firmware/.
|
git switch -c work
|
||||||
src_branch: development
|
git remote add -f Tasmota "https://github.com/arendst/Tasmota-firmware.git" --track main
|
||||||
dst_path: /firmware/
|
git rm -r --cached .
|
||||||
dst_owner: arendst
|
git add -f ./firmware/*
|
||||||
dst_branch: main
|
git commit -m ${GITHUB_SHA}
|
||||||
dst_repo_name: Tasmota-firmware
|
git merge Tasmota-firmware/main --allow-unrelated-histories
|
||||||
username: github-actions
|
git push -u origin main
|
||||||
email: github-actions@github.com
|
|
||||||
commit_message: ${GITHUB_SHA}
|
|
||||||
|
|
||||||
- name: Creat trigger.txt
|
- name: Creat trigger.txt
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue