Skip to content

Commit

Permalink
try fix env errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmarcano committed Aug 9, 2023
1 parent b06536b commit b05d145
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Installing platformio
run: pip3 install -U platformio

- name: Building a firmware
- name: Building firmware
run: |
export SSID=${{ secrets.WIFI_SSID }}
export PASS=${{ secrets.WIFI_PASSWORD }}
Expand Down
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
// For GitHub Actions OTA deployment

// WiFi credentials
#define WIFI_SSID WSSID
#define WIFI_PASSWORD WPASS
const char *WIFI_SSID = WSSID;
const char *WIFI_PASSWORD = WPASS;

// Husarnet credentials
#define HUSARNET_JOIN_CODE HN_JOINCODE
#define HUSARNET_HOSTNAME HN_HOSTNAME
const char *HUSARNET_JOIN_CODE = HN_JOINCODE;
const char *HUSARNET_HOSTNAME = HN_HOSTNAME;

#endif

Expand Down

0 comments on commit b05d145

Please sign in to comment.