forked from balena-io-experimental/browser
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1015 Bytes
/
main.yml
File metadata and controls
38 lines (33 loc) · 1015 Bytes
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
38
name: BalenaCloud Deploy
on:
push:
# Only run workflow for pushes to specific branches
branches:
- main
- master
- newsystem
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}}-rpi"
- 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"