Fixed folder

This commit is contained in:
CommanderRedYT
2021-12-01 18:28:18 +01:00
committed by GitHub
parent 574017ef0c
commit 09c098f54a

View File

@ -79,7 +79,7 @@ jobs:
env: env:
HOST: commanderred.xyz HOST: commanderred.xyz
KEY: ${{ secrets.RSYNC_SSH_KEY }} KEY: ${{ secrets.RSYNC_SSH_KEY }}
TARGET: /home/github/tmp/ TARGET: /home/github/tmp
USER: github USER: github
SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
SOURCE: '${{ matrix.node }}' SOURCE: '${{ matrix.node }}'
@ -93,7 +93,7 @@ jobs:
key: ${{ secrets.RSYNC_SSH_KEY }} key: ${{ secrets.RSYNC_SSH_KEY }}
port: 22 port: 22
script: | 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 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 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 cd bobbycar-boardcomputer-firmware