-
Notifications
You must be signed in to change notification settings - Fork 58
36 lines (30 loc) · 1015 Bytes
/
Copy pathdeploy-to-balena.yml
File metadata and controls
36 lines (30 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
name: "Deploy to Balena"
on:
workflow_dispatch:
push:
branches:
- master
env:
BALENA_APP: ketil/balena-ads-b
permissions:
contents: read
jobs:
build:
name: "Deploy-to-Balena"
runs-on: "ubuntu-latest"
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Update balena.yml
uses: balena-io-experimental/balena.yml-action@cffeb7987589f35ff623a75fa39a04822b5da5af # Feb 13, 2023
with:
# Synchronise the GitHub README with the Balena Hub README
sync_readme: true
# If pushing a tag to deploy, use the same tag as the version number to display on Balena Hub
sync_tag: false
- name: Deploy to Balena
uses: balena-io/deploy-to-balena-action@3653c472f0bb6a9885110328b28c3a80470b3b63 # v2.3.1
with:
balena_token: ${{ secrets.BALENA_API_KEY }}
fleet: ${{ env.BALENA_APP }}
multi_dockerignore: true