Skip to content

Commit

Permalink
separate build/release actions so build tests are run on branches for…
Browse files Browse the repository at this point in the history
… all build targets before deploying to main
  • Loading branch information
avi committed Dec 17, 2023
1 parent 10ea2d4 commit 46c85a6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/make_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: PlatformIO CI

on:
push:
branches:
- main

jobs:
build:
Expand All @@ -29,6 +27,13 @@ jobs:
- name: Build PlatformIO Project
run: pio run


deploy_release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build
steps:

- name: Copy binaries to /firmware
run: bash copy_firmware.sh

Expand Down

0 comments on commit 46c85a6

Please sign in to comment.