From 867744af33653ed76f8f8689071004c51ef9f87c Mon Sep 17 00:00:00 2001 From: Pirata Date: Wed, 20 Nov 2024 21:38:38 -0300 Subject: [PATCH] fix for page --- .github/workflows/buil_parallel.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buil_parallel.yml b/.github/workflows/buil_parallel.yml index cfaba5cd..a16e236a 100644 --- a/.github/workflows/buil_parallel.yml +++ b/.github/workflows/buil_parallel.yml @@ -231,7 +231,7 @@ 0x8000 .pio/build/${{ matrix.board.env }}/partitions.bin \ 0x10000 .pio/build/${{ matrix.board.env }}/firmware.bin - js_content="{\"name\":\"${{ matrix.board.name }}\",\"builds\":[{\"chipFamily\":\"${{ matrix.board.family }}\",\"improv\":false,\"parts\":[{\"path\":\"bins/Launcher-${{ matrix.board.env }}.bin\",\"offset\":0}]}]}" + js_content="{\"name\":\"${{ matrix.board.name }}\",\"builds\":[{\"chipFamily\":\"${{ matrix.board.family }}\",\"improv\":false,\"parts\":[{\"path\":\"Bruce-${{ matrix.board.env }}.bin\",\"offset\":0}]}]}" echo "$js_content" > "./Bruce-${{ matrix.board.env }}.json" html="" @@ -336,12 +336,14 @@ ls -all tree if [ "${{ github.ref_type }}" != "tag" ]; then + rm -f ./BetaRelease/* mv -f ~/BruceArtifacts/*/*.bin ./BetaRelease - mv -f ~/BruceArtifacts/*/*.json ./BetaRelease elif [ "${{ github.ref_type }}" == "tag" ]; then mv -f ~/BruceArtifacts/*/*.bin ./LastRelease - mv -f ~/BruceArtifacts/*/*.json ./LastRelease + rm -f ./LastRelease/* fi + cp -f ~/BruceArtifacts/*/*.json ./LastRelease + cp -f ~/BruceArtifacts/*/*.json ./BetaRelease - name: Commit and push changes run: |