mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 00:11:06 +00:00
959d425a5c
Change-type: patch Signed-off-by: Miguel Casqueira <miguel@balena.io>
26 lines
782 B
YAML
26 lines
782 B
YAML
name: balenaCloud
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, closed]
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy-release:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
arch: [aarch64, amd64, armv7hf, i386, rpi]
|
|
environment: [ { tld: balena-cloud.com, token_prop_name: BALENA_TOKEN }, { tld: balena-staging.com, token_prop_name: BALENA_STAGING_TOKEN } ]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: balena-io/balena-ci@master
|
|
name: 'Deploy to ${{ matrix.environment.tld }}'
|
|
with:
|
|
balena_token: ${{ secrets[matrix.environment.token_prop_name] }}
|
|
fleet: 'balena_os/${{ matrix.arch }}-supervisor'
|
|
versionbot: true
|
|
environment: ${{ matrix.environment.tld }}
|