Skip to content

Commit

Permalink
added GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikN committed Nov 25, 2021
1 parent 7e7ab3c commit 659c5a5
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build firmware

on:
push:
branches:
- 'master'

jobs:
build:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Installing platformio
run: pip3 install -U platformio

- name: Building a firmware
run: |
pio lib install
pio run
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
.vscode
src/credentials.h
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ To find your Husarnet Join Code setup a free account at https://app.husarnet.com
### 4. Upload code to your board

Just click this button in VSC + Platformio
![Upload code](screenshot_flash_button.png)
![Upload code](docs/screenshot_flash_button.png)

### 5. Open WebUI

Expand All @@ -86,4 +86,4 @@ At this stage your ESP32 and your laptop are in the same VLAN network. The best
`http://esp32websocket:8000`
You should see a web UI to controll your ESP32 now.

![screenshot_esp32_webui](screenshot_esp32_webui.png)
![screenshot_esp32_webui](docs/screenshot_esp32_webui.png)
File renamed without changes
File renamed without changes
6 changes: 0 additions & 6 deletions partitions_custom.csv

This file was deleted.

2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ upload_speed = 921600

monitor_filters = esp32_exception_decoder, default

board_build.partitions = partitions_custom.csv
board_build.partitions = min_spiffs.csv
board_build.embed_txtfiles =
src/index.html

Expand Down

0 comments on commit 659c5a5

Please sign in to comment.