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:
|
||||
repository: arendst/Tasmota-firmware
|
||||
path: main
|
||||
run: |
|
||||
git config user.name 'github-actions'
|
||||
git config user.email 'github-actions@github.com'
|
||||
git add ./firmware*
|
||||
git commit -a ${GITHUB_SHA}
|
||||
git push
|
||||
- name: Creat trigger.txt
|
||||
- name: Push Firmware files to https://github.com/arendst/Tasmota-firmware
|
||||
run: |
|
||||
git config user.name 'github-actions'
|
||||
git config user.email 'github-actions@github.com'
|
||||
git add ./firmware*
|
||||
git commit -a ${GITHUB_SHA}
|
||||
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: |
|
||||
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-development'
|
||||
user_email: 'github-actions@github.com'
|
||||
user_name: 'github-actions'
|
||||
git config user.name 'github-actions'
|
||||
git config user.email 'github-actions@github.com'
|
||||
git add trigger.txt
|
||||
git commit -a ${GITHUB_SHA}
|
||||
git push
|
||||
|
|
Loading…
Reference in New Issue