From 990065df69bb4feabba0f76c439c7b95d59db2c9 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:29:38 +0100 Subject: [PATCH] Use tmp_copy repo for branch master --- .github/workflows/Tasmota_build_master.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index 148f18202..4639fde5e 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -1365,28 +1365,35 @@ jobs: [ ! -f ./mv_firmware/firmware/tasmota32c3*.* ] || mv ./mv_firmware/firmware/tasmota32c3*.* ./release-firmware/tasmota32/ [ ! -f ./mv_firmware/firmware/tasmota32* ] || mv ./mv_firmware/firmware/tasmota32* ./release-firmware/tasmota32/languages/ [ ! -f ./mv_firmware/firmware/* ] || mv ./mv_firmware/firmware/* ./release-firmware/tasmota/languages/ - - name: Display files + - name: Display files to transfer run: ls -R ./* - - name: Push Firmware files to https://github.com/arendst/Tasmota-firmware + - name: Push Firmware files to tmp_copy repo uses: Jason2866/copy_file_to_another_repo_action@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: source_file: 'release-firmware' - destination_repo: 'arendst/Tasmota-firmware' + destination_repo: 'arendst/tmp_copy' + destination_branch: 'firmware' user_email: 'github-actions@github.com' user_name: 'github-actions' + + Start_final_copy: + needs: Upload + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 - name: Creat trigger.txt run: | echo ${GITHUB_SHA} &> trigger.txt echo "$(