Added rsync

This commit is contained in:
CommanderRedYT
2021-12-01 13:54:40 +01:00
committed by GitHub
parent b1c1cfa7ec
commit 3c45cc1742

View File

@ -16,6 +16,7 @@ jobs:
env:
IGNORE_KEY: ${{ secrets.IGNORE_KEY }}
steps:
- name: Checkout (without submodules)
uses: actions/checkout@v2
@ -57,3 +58,18 @@ jobs:
build_${{ matrix.node }}/bootloader/bootloader.bin
build_${{ matrix.node }}/bootloader/bootloader.elf
build_${{ matrix.node }}/partition_table/partition-table.bin
- name: Deploy to file-host
uses: up9cloud/action-rsync@1.3
env:
HOST: commanderred.xyz
KEY: ${{ secrets.RSYNC_SSH_KEY }}
TARGET: /home/github/
SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
SOURCE: |
uild_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.bin
build_${{ matrix.node }}/bobbyquad_${{ matrix.node }}.elf
build_${{ matrix.node }}/bootloader/bootloader.bin
build_${{ matrix.node }}/bootloader/bootloader.elf
build_${{ matrix.node }}/partition_table/partition-table.bin
POST_SCRIPT: "echo Upload done"