Skip to content

Commit

Permalink
add reminder, fix ca in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dadleyy committed Jan 9, 2024
1 parent 847bbd5 commit 585976e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .automation/firmware-instructions/flashing-xiao.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ python esptool.py \
0xe000 boot_app0.bin \
0x10000 .pio/build/xiao/firmware.bin
```

Alternatively, the merged binary has been included:

```
esptool.py --chip esp32c3 write_flash 0x0 ./beetle-merged.bin
```
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
REDIS_PORT: "${{ secrets.PIO_REDIS_PORT }}"
REDIS_AUTH_USERNAME: "${{ secrets.PIO_REDIS_AUTH_USERNAME }}"
REDIS_AUTH_PASSWORD: "${{ secrets.PIO_REDIS_AUTH_PASSWORD }}"
REDIS_HOST_ROOT_CA: "${{ secrets.REDIS_HOST_ROOT_CA }}"
DISTRIBUTABLE_DIRECTORY_NAME: "beetle-pio-dist"
defaults:
run:
Expand All @@ -73,7 +74,9 @@ jobs:
run: pip install --upgrade platformio

- name: "env prep: fill redis ca"
run: echo $REDIS_HOST_ROOT_CA > embeds/redis_host_root_ca.pem
run: |
echo -n $REDIS_HOST_ROOT_CA > embeds/redis_host_root_ca.pem
wc -l embeds/redis_host_root_ca.pem
- name: "pio: check"
run: pio check
Expand Down

0 comments on commit 585976e

Please sign in to comment.