Fixed mv command
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -93,7 +93,9 @@ jobs:
|
||||
key: ${{ secrets.RSYNC_SSH_KEY }}
|
||||
port: 22
|
||||
script: |
|
||||
mv /home/github/tmp/${{ matrix.node }} /home/github/builds/
|
||||
mkdir -p /home/github/builds/${{ matrix.node }}
|
||||
mv /home/github/tmp/${{ matrix.node }}/* /home/github/builds/${{ matrix.node }}/
|
||||
rm /home/github/tmp/${{ matrix.node }} -rf
|
||||
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
|
||||
|
Reference in New Issue
Block a user