WatchyWatchFace/.forgejo/workflows/compile.yml

16 lines
398 B
YAML
Raw Normal View History

2023-05-30 18:46:26 +03:00
name: Compile
run-name: ${{ github.actor }} is compiling
2023-05-30 19:09:57 +03:00
on: [push]
2023-05-30 18:46:26 +03:00
jobs:
Compile:
runs-on: ubuntu-latest
2023-05-30 18:46:26 +03:00
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Compile
2023-05-30 19:34:50 +03:00
run: |
cd ${{ github.workspace }}
echo -en '#define WIFI_SSID "<ssid>"\n#define WIFI_PASS "<pass>"\n' >src/secrets.h
/root/.platformio/penv/bin/pio run