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
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -76,21 +76,23 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
runs-on: [self-hosted]
|
runs-on: [self-hosted]
|
||||||
steps:
|
steps:
|
||||||
|
- name: Create directory for artifacts
|
||||||
|
run: mkdir artifacts
|
||||||
- name: Get bootloader
|
- name: Get bootloader
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: bootloader_f4
|
name: bootloader_f4
|
||||||
path: bootloader
|
path: artifacts/bootloader
|
||||||
- name: Get firmware
|
- name: Get firmware
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: firmware_f4
|
name: firmware_f4
|
||||||
path: firmware
|
path: artifacts/firmware
|
||||||
- name: Upload bootloader
|
- name: Upload bootloader
|
||||||
uses: burnett01/rsync-deployments@4.1
|
uses: burnett01/rsync-deployments@4.1
|
||||||
with:
|
with:
|
||||||
switches: -avzp --delete
|
switches: -avzp --delete
|
||||||
path: bootloader
|
path: artifacts/bootloader
|
||||||
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
||||||
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
||||||
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
||||||
@ -99,8 +101,8 @@ jobs:
|
|||||||
- name: Upload firmware
|
- name: Upload firmware
|
||||||
uses: burnett01/rsync-deployments@4.1
|
uses: burnett01/rsync-deployments@4.1
|
||||||
with:
|
with:
|
||||||
switches: -avzp --delete
|
switches: -avzp --delete
|
||||||
path: firmware
|
path: artifacts/firmware
|
||||||
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}${GITHUB_REF##*/}/"
|
||||||
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
|
||||||
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
|
||||||
|
Loading…
Reference in New Issue
Block a user