Only actions/checkout@v2

This commit is contained in:
Jason2866 2021-10-13 18:20:28 +02:00 committed by GitHub
parent 65dce94f0e
commit 2ed693cd7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 17 deletions

View File

@ -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'