Remove balena-ci.yml and add balenaCloud slugs

Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
Christina Ying Wang 2022-09-12 12:24:45 -07:00 committed by Felipe Lalanne
parent 670b9ff563
commit 728724ce46
2 changed files with 6 additions and 25 deletions

View File

@ -1,25 +0,0 @@
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 }}

View File

@ -18,3 +18,9 @@ jobs:
BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }}
with:
protect_branch: false
balena_slugs:
- balena_os/aarch64-supervisor
- balena_os/amd64-supervisor
- balena_os/armv7hf-supervisor
- balena_os/i386-supervisor
- balena_os/rpi-supervisor