feat: add FTP_USER and FTP_PASSWORD secrets for firmware upload in Gitea release workflow
This commit is contained in:
parent
55e89948bb
commit
9fe3f6c0ff
3
.github/workflows/gitea-release.yml
vendored
3
.github/workflows/gitea-release.yml
vendored
@ -211,6 +211,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Firmware via FTP
|
- name: Upload Firmware via FTP
|
||||||
if: success()
|
if: success()
|
||||||
|
secrets:
|
||||||
|
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
|
||||||
|
FTP_USER: ${{ secrets.FTP_USER }}
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(grep '^version = ' platformio.ini | cut -d'"' -f2)
|
VERSION=$(grep '^version = ' platformio.ini | cut -d'"' -f2)
|
||||||
cd .pio/build/esp32dev
|
cd .pio/build/esp32dev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user