Skip to content

Commit

Permalink
ci: add step in github workflow to create mock arduino_secrets.h file
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Agarwal <[email protected]>
  • Loading branch information
Aditya-A-garwal committed Feb 14, 2024
1 parent 78137d8 commit cef0757
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
- name: Fetch Library Dependencies
run: pio pkg install

- name: Create Mock arduino_secrets.h File
run: echo -e "#define SECRET_SSID \"MOCK_SSID\"\n#define SECRET_PASS \"MOCK_PASS\"\n#define SERVER_IP \"127.0.0.1\"\n" > include/arduino_secrets.h

- name: Build PlatformIO Project
run: pio run

0 comments on commit cef0757

Please sign in to comment.