Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Add Balena deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie44 committed Jun 27, 2022
1 parent 5c3cc91 commit 420c69c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/balena-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy to BCR

on:
pull_request:
types: [opened, synchronize, closed]
branches:
- main

jobs:
deploy-to-bcr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Turnstyle
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy to Balena
uses: balena-io/deploy-to-balena-action@master
id: build
with:
balena_token: ${{ secrets.BALENA_TOKEN }}
fleet: maggie0002/python-wifi-connect

- name: Log release ID built
run: echo "Built release ID ${{ steps.build.outputs.release_id }}"

0 comments on commit 420c69c

Please sign in to comment.