Sh runner (#295)
* set self-hosted runner * set GH runner for pylint * fix upload to storage
This commit is contained in:
parent
b2b295c3f9
commit
b7210eaf0e
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -76,21 +76,23 @@ jobs:
|
||||
needs: build
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: Create directory for artifacts
|
||||
run: mkdir artifacts
|
||||
- name: Get bootloader
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: bootloader_f4
|
||||
path: bootloader
|
||||
path: artifacts/bootloader
|
||||
- name: Get firmware
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: firmware_f4
|
||||
path: firmware
|
||||
path: artifacts/firmware
|
||||
- name: Upload bootloader
|
||||
uses: burnett01/rsync-deployments@4.1
|
||||
with:
|
||||
switches: -avzp --delete
|
||||
path: bootloader
|
||||
path: artifacts/bootloader
|
||||
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
||||
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
||||
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
||||
@ -100,7 +102,7 @@ jobs:
|
||||
uses: burnett01/rsync-deployments@4.1
|
||||
with:
|
||||
switches: -avzp --delete
|
||||
path: firmware
|
||||
path: artifacts/firmware
|
||||
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
||||
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
||||
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
||||
|
Loading…
Reference in New Issue
Block a user