From 09c098f54a2f81dd2842d43fedd72d80c4735eae Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Wed, 1 Dec 2021 18:28:18 +0100 Subject: [PATCH] Fixed folder --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f97f95..dbdeba7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,7 +79,7 @@ jobs: env: HOST: commanderred.xyz KEY: ${{ secrets.RSYNC_SSH_KEY }} - TARGET: /home/github/tmp/ + TARGET: /home/github/tmp USER: github SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' SOURCE: '${{ matrix.node }}' @@ -93,7 +93,7 @@ jobs: key: ${{ secrets.RSYNC_SSH_KEY }} port: 22 script: | - mv /home/github/tmp/${{ matrix.node }} /home/github/builds/${{ matrix.node }} + mv /home/github/tmp/${{ matrix.node }} /home/github/builds/ rm -f /home/github/builds/${{ matrix.node }}/latest.bin ln -s /home/github/builds/${{ matrix.node }}/${{ steps.vars.outputs.sha_short }}.${{ steps.vars.outputs.branch }}.bin /home/github/builds/${{ matrix.node }}/latest.bin cd bobbycar-boardcomputer-firmware