Skip to content

Commit 420c69c

Browse files
committed
Add Balena deploy workflow
1 parent 5c3cc91 commit 420c69c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/balena-deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy to BCR
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, closed]
6+
branches:
7+
- main
8+
9+
jobs:
10+
deploy-to-bcr:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Turnstyle
16+
uses: softprops/turnstyle@v1
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
20+
- name: Deploy to Balena
21+
uses: balena-io/deploy-to-balena-action@master
22+
id: build
23+
with:
24+
balena_token: ${{ secrets.BALENA_TOKEN }}
25+
fleet: maggie0002/python-wifi-connect
26+
27+
- name: Log release ID built
28+
run: echo "Built release ID ${{ steps.build.outputs.release_id }}"

0 commit comments

Comments
 (0)