Fixed folder
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user