Test with git commands only

This commit is contained in:
Jason2866 2021-10-19 14:33:01 +02:00 committed by GitHub
parent 736e66ed5d
commit d6715273c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -1324,6 +1324,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@v2
- name: Download artifacts
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
name: firmware name: firmware
@ -1362,18 +1364,16 @@ jobs:
run: ls -R ./* run: ls -R ./*
- name: Push Firmware files to https://github.com/arendst/Tasmota-firmware - name: Push Firmware files to https://github.com/arendst/Tasmota-firmware
uses: andstor/copycat-action@v3 run: |
with: git config user.name "Platformio BUILD"
personal_token: ${{ secrets.API_TOKEN_GITHUB }} git config user.email github-actions@github.com
src_path: firmware/. git switch -c work
src_branch: development git remote add -f Tasmota "https://github.com/arendst/Tasmota-firmware.git" --track main
dst_path: /firmware/ git rm -r --cached .
dst_owner: arendst git add -f ./firmware/*
dst_branch: main git commit -m ${GITHUB_SHA}
dst_repo_name: Tasmota-firmware git merge Tasmota-firmware/main --allow-unrelated-histories
username: github-actions git push -u origin main
email: github-actions@github.com
commit_message: ${GITHUB_SHA}
- name: Creat trigger.txt - name: Creat trigger.txt
run: | run: |