From eb7f5a052333886a8e4630b1f1784a75b4d55e9b Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Wed, 1 Dec 2021 15:03:56 +0100 Subject: [PATCH] Fixed github sha (hopefully) --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a695205..66ed1d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,12 +61,12 @@ jobs: - name: Prepare to upload run: | - mkdir build_${{ matrix.node }}_${{ env.GITHUB_SHA }} - cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.bin build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/ - cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.elf build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/ - cp build_${{ matrix.node }}/bootloader/bootloader.bin build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/ - cp build_${{ matrix.node }}/bootloader/bootloader.elf build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/ - dp build_${{ matrix.node }}/partition_table/partition-table.bin build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/ + mkdir build_${{ matrix.node }}_${ GITHUB_SHA } + cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.bin build_${{ matrix.node }}_${ GITHUB_SHA }/ + cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.elf build_${{ matrix.node }}_${ GITHUB_SHA }/ + cp build_${{ matrix.node }}/bootloader/bootloader.bin build_${{ matrix.node }}_${ GITHUB_SHA }/ + cp build_${{ matrix.node }}/bootloader/bootloader.elf build_${{ matrix.node }}_${ GITHUB_SHA }/ + cp build_${{ matrix.node }}/partition_table/partition-table.bin build_${{ matrix.node }}_${ GITHUB_SHA }/ - name: Deploy to file-host uses: up9cloud/action-rsync@v1.3 @@ -76,6 +76,6 @@ jobs: TARGET: /home/github USER: github SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' - SOURCE: 'build_${{ matrix.node }}_${{ env.GITHUB_SHA }}/' + SOURCE: 'build_${{ matrix.node }}_${ GITHUB_SHA }/' PRE_SCRIPT: "echo Uploading to '/home/github'" POST_SCRIPT: "echo Upload done"