Create copycat_master.yml

This commit is contained in:
Jason2866 2021-08-27 23:23:39 +02:00 committed by GitHub
parent 80e405eaca
commit bf9467d7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

37
.github/workflows/copycat_master.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Copy_firmware_master
on:
push:
copycat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: copycat tasmota
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.API_TOKEN_GITHUB }}
src_path: release-firmware/tasmota/.
src_branch: master
dst_path: firmware/release
dst_owner: tasmota
dst_branch: main
dst_repo_name: install
username: workflow
commit_message: "Update from official release"
copycat32:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: copycat tasmota32
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.API_TOKEN_GITHUB }}
src_path: release-firmware/tasmota32/.
src_branch: main
dst_path: firmware/release
dst_owner: tasmota
dst_branch: main
dst_repo_name: install
username: workflow
commit_message: "Update from official release"