-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.33 KB
/
pio-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: PlatformIO CI
on:
push:
branches:
- dev
- master
jobs:
pio-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout UI
run: |
echo "Checkout UI"
git clone https://github.com/mp-se/gravitymon-blegw-ui gravitymon-blegw-ui
cp gravitymon-blegw-ui/dist/css/app.css.gz html/
cp gravitymon-blegw-ui/dist/js/app.js.gz html/
cp gravitymon-blegw-ui/dist/index.html html/
- name: Setup PlatformIO
uses: n-vr/setup-platformio-action@v1.0.1
- name: PlatformIO Run
uses: karniv00l/platformio-run-action@v1
with:
environments: "gw-release,gw-s3-release"
#targets: ""
#project-dir: "./some_dir"
#project-conf: "./some_dir/custom.ini"
jobs: 6
silent: false
verbose: true
disable-auto-clean: false
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. https://github.com/marketplace/actions/add-commit
with:
add: 'bin html'
author_name: GitHub Action
author_email: mp-se@noreply.github.com
default_author: github_actor
message: 'GitHub Action Build'
pathspec_error_handling: ignore