forked from balena-labs-projects/xserver
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 1.01 KB
/
main.yml
File metadata and controls
37 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: BalenaCloud Deploy
on:
push:
# Only run workflow for pushes to specific branches
branches:
- main
- master
jobs:
balena-deploy:
runs-on: ubuntu-latest
environment: balena
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Balena Deploy Blocks amd64
uses: Theia-Scientific/balena-cli@v18
if: success()
with:
balena_api_token: ${{secrets.BALENA_TOKEN}}
balena_command: "push ${{vars.BALENA_FLEET}}-amd64"
- name: Balena Deploy Blocks aarch64
uses: Theia-Scientific/balena-cli@v18
if: success()
with:
balena_api_token: ${{secrets.BALENA_TOKEN}}
balena_command: "push ${{vars.BALENA_FLEET}}-aarch64"
- name: Balena Deploy Blocks rpi5
uses: Theia-Scientific/balena-cli@v18
if: success()
with:
balena_api_token: ${{secrets.BALENA_TOKEN}}
balena_command: "push ${{vars.BALENA_FLEET}}-rpi5"