Compare commits

...

12 Commits

3 changed files with 49 additions and 11 deletions

@ -9,6 +9,9 @@ on:
FTP_PASSWORD: FTP_PASSWORD:
description: 'FTP Password for firmware upload' description: 'FTP Password for firmware upload'
required: true required: true
FTP_USER:
description: 'FTP User for firmware upload'
required: true
jobs: jobs:
create-release: create-release:
@ -203,15 +206,18 @@ jobs:
fi fi
done done
- name: Install lftp
run: sudo apt-get install -y lftp
- name: Upload Firmware via FTP - name: Upload Firmware via FTP
if: success() if: success()
uses: sebastianpopp/ftp-action@releases/v2 run: |
with: VERSION=$(grep '^version = ' platformio.ini | cut -d'"' -f2)
host: "filaman.app" cd .pio/build/esp32dev
port: 21 lftp -c "set ssl:verify-certificate no; \
user: ${{ secrets.FTP_USER }} set ftp:ssl-protect-data true; \
password: ${{ secrets.FTP_PASSWORD }} set ftp:ssl-force true; \
forceSsl: true set ssl:check-hostname false; \
localDir: ".pio/build/esp32dev" set ftp:ssl-auth TLS; \
remoteDir: "/" open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASSWORD }} ftp://filaman.app:21; \
options: "set ftp:ssl-force true; set ftp:ssl-protect-data true; set ssl:verify-certificate no; set ftp:ssl-auth TLS; put filaman_full_*.bin -o filaman_full.bin" put -O / filaman_full_${VERSION}.bin -o filaman_full.bin"

@ -1,5 +1,37 @@
# Changelog # Changelog
## [1.3.79] - 2025-02-23
### Added
- add FTP_USER input for firmware upload in Gitea release workflow
### Changed
- update webpages for version v1.3.79
## [1.3.78] - 2025-02-23
### Changed
- update webpages for version v1.3.78
### Fixed
- change FTP protocol from FTPS to FTP for file upload in workflow
## [1.3.77] - 2025-02-23
### Changed
- update webpages for version v1.3.77
### Fixed
- replace ncftp with lftp for secure firmware upload
## [1.3.76] - 2025-02-23
### Changed
- update webpages for version v1.3.76
### Fixed
- replace FTP action with curl for secure firmware upload and install ncftp
## [1.3.75] - 2025-02-23 ## [1.3.75] - 2025-02-23
### Changed ### Changed
- update webpages for version v1.3.75 - update webpages for version v1.3.75

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[common] [common]
version = "1.3.75" version = "1.3.79"
## ##
[env:esp32dev] [env:esp32dev]
platform = espressif32 platform = espressif32