mirror of https://github.com/arendst/Tasmota.git
Only actions/checkout@v2
This commit is contained in:
parent
65dce94f0e
commit
2ed693cd7b
|
@ -1364,23 +1364,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: arendst/Tasmota-firmware
|
repository: arendst/Tasmota-firmware
|
||||||
path: main
|
path: main
|
||||||
run: |
|
- name: Push Firmware files to https://github.com/arendst/Tasmota-firmware
|
||||||
git config user.name 'github-actions'
|
run: |
|
||||||
git config user.email 'github-actions@github.com'
|
git config user.name 'github-actions'
|
||||||
git add ./firmware*
|
git config user.email 'github-actions@github.com'
|
||||||
git commit -a ${GITHUB_SHA}
|
git add ./firmware*
|
||||||
git push
|
git commit -a ${GITHUB_SHA}
|
||||||
- name: Creat trigger.txt
|
git push
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: arendst/Tasmota-firmware
|
||||||
|
path: action-development
|
||||||
|
- name: Push trigger.txt to start workflow in repo https://github.com/arendst/Tasmota-firmware
|
||||||
run: |
|
run: |
|
||||||
echo ${GITHUB_SHA} &> trigger.txt
|
echo ${GITHUB_SHA} &> trigger.txt
|
||||||
echo "$(<trigger.txt)"
|
echo "$(<trigger.txt)"
|
||||||
- name: Push trigger.txt to start workflow in repo https://github.com/arendst/Tasmota-firmware
|
git config user.name 'github-actions'
|
||||||
uses: dmnemec/copy_file_to_another_repo_action@main
|
git config user.email 'github-actions@github.com'
|
||||||
env:
|
git add trigger.txt
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
git commit -a ${GITHUB_SHA}
|
||||||
with:
|
git push
|
||||||
source_file: 'trigger.txt'
|
|
||||||
destination_repo: 'arendst/Tasmota-firmware'
|
|
||||||
destination_branch: 'action-development'
|
|
||||||
user_email: 'github-actions@github.com'
|
|
||||||
user_name: 'github-actions'
|
|
||||||
|
|
Loading…
Reference in New Issue