Fixed github sha (hopefully)

This commit is contained in:
CommanderRedYT
2021-12-01 15:03:56 +01:00
committed by GitHub
parent 99811324e2
commit eb7f5a0523

View File

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