Skip to content

Commit

Permalink
Revert "try fix env errors"
Browse files Browse the repository at this point in the history
This reverts commit b05d145.
  • Loading branch information
gabrielmarcano committed Aug 9, 2023
1 parent b05d145 commit 282b19a
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 firmware
- name: Building a 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
const char *WIFI_SSID = WSSID;
const char *WIFI_PASSWORD = WPASS;
#define WIFI_SSID WSSID
#define WIFI_PASSWORD WPASS

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

#endif

Expand Down

0 comments on commit 282b19a

Please sign in to comment.