Removed no longer needed code

This commit is contained in:
CommanderRedYT
2021-12-20 10:45:36 +01:00
committed by GitHub
parent 8074f63578
commit 2a56f59d86

View File

@ -66,13 +66,6 @@ jobs:
with:
key: ${{ runner.os }}-ccache-${{ matrix.node }}
# disabled, failed to download files last time
#- name: Install ignore
# run: |
# mkdir -p "$HOME/.ssh"
# echo "${{ secrets.RSYNC_SSH_KEY }}" >"$HOME/.ssh/key"
# chmod 600 "$HOME/.ssh/key"
# rsync -azv --exclude=/.git/ --exclude=/.github/ -e "ssh -i $HOME/.ssh/key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet" github@commanderred.xyz:/home/github/ignore ./
- name: Build firmware
run: |
@ -111,41 +104,3 @@ jobs:
build_${{ matrix.node }}/bootloader/bootloader.bin
build_${{ matrix.node }}/bootloader/bootloader.elf
build_${{ matrix.node }}/partition_table/partition-table.bin
# disabled, failed to upload binaries last time
#- name: Prepare to upload
# run: |
# mkdir ${{ matrix.node }}
# cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.bin ${{ matrix.node }}/${{ steps.vars.outputs.sha_short }}.${{ steps.vars.outputs.branch }}.bin
# cp build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.elf ${{ matrix.node }}/${{ steps.vars.outputs.sha_short }}.${{ steps.vars.outputs.branch }}.elf
# echo ${{ steps.vars.outputs.sha_short }}
# echo Prepare for upload from ${{ matrix.node }}/ to /home/github/builds/${{ matrix.node }}
#- name: Deploy to file-host
# uses: up9cloud/action-rsync@v1.3
# env:
# HOST: commanderred.xyz
# KEY: ${{ secrets.RSYNC_SSH_KEY }}
# TARGET: /home/github/tmp
# USER: github
# SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
# SOURCE: '${{ matrix.node }}'
# POST_SCRIPT: "echo Upload done"
#- name: Create Symlink on server
# uses: appleboy/ssh-action@master
# with:
# host: commanderred.xyz
# username: github
# key: ${{ secrets.RSYNC_SSH_KEY }}
# port: 22
# script: |
# 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
# rm -f /home/github/builds/${{ matrix.node }}/${{ steps.vars.outputs.branch }}.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 }}/${{ steps.vars.outputs.branch }}.latest.bin
# cd bobbycar-boardcomputer-firmware
# git pull