Update Tasmota_build_master.yml

This commit is contained in:
Jason2866 2021-08-28 16:57:43 +02:00 committed by GitHub
parent e3f39bc1b4
commit 03b26adf07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1358,3 +1358,17 @@ jobs:
destination_repo: 'arendst/Tasmota-firmware'
user_email: 'github-actions@github.com'
user_name: 'github-actions'
- name: Creat trigger.txt
run: |
echo ${GITHUB_SHA} &> trigger.txt
echo "$(<trigger.txt)"
- name: Push trigger.txt to start workflow in repo https://github.com/arendst/Tasmota-firmware
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'trigger.txt'
destination_repo: 'arendst/Tasmota-firmware'
destination_branch: 'action-master'
user_email: 'github-actions@github.com'
user_name: 'github-actions'