Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
0c4bae48d4 | |||
b4b17cb999 | |||
5ff3864d9d | |||
9b8736d35f | |||
cf0ba20637 | |||
e06c0b9a76 | |||
4cb370ddff | |||
0b9c1711da | |||
e2449030c5 | |||
5a91e87afa | |||
5e66c3bd45 | |||
61c82f796f | |||
7661e0eb20 | |||
c06e6de89a | |||
262bed84df | |||
c710e5d7f8 | |||
5d39f04786 | |||
d955e26b82 | |||
c20e7de5c3 | |||
55c3b3688a | |||
fea5932125 | |||
04f557939d | |||
58549a53e4 | |||
64a46e3e7d | |||
c2bd0982ab | |||
e0b8da079e | |||
8c88827a2d | |||
6128bc2827 | |||
6d21a8ec52 | |||
2ee4eca7dd |
83
.github/workflows/providers/gitea-release.yml
vendored
83
.github/workflows/providers/gitea-release.yml
vendored
@ -1,18 +1,21 @@
|
|||||||
name: Gitea Release
|
name: Gitea Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call: # This workflow will only be triggered when called by another workflow
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
changelog:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Required for creating releases
|
contents: write
|
||||||
issues: read # Required for reading changelog
|
|
||||||
pull-requests: read # Required for reading changelog
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -21,19 +24,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install PlatformIO
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio esptool
|
||||||
|
|
||||||
- name: Build Firmware
|
- name: Build Firmware
|
||||||
run: |
|
run: |
|
||||||
pio run -t buildfs # Build SPIFFS
|
pio run -t buildfs
|
||||||
pio run # Build firmware
|
pio run
|
||||||
|
|
||||||
- name: Install esptool
|
|
||||||
run: |
|
|
||||||
pip install esptool
|
|
||||||
|
|
||||||
- name: Merge firmware and SPIFFS
|
- name: Merge firmware and SPIFFS
|
||||||
run: |
|
run: |
|
||||||
@ -48,54 +47,14 @@ jobs:
|
|||||||
0x290000 .pio/build/esp32dev/spiffs.bin
|
0x290000 .pio/build/esp32dev/spiffs.bin
|
||||||
|
|
||||||
- name: Prepare OTA firmware
|
- name: Prepare OTA firmware
|
||||||
run: |
|
run: cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
||||||
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
|
||||||
|
|
||||||
- name: Get version from tag
|
- name: Create GitHub Release
|
||||||
id: get_version
|
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Read CHANGELOG.md
|
|
||||||
id: changelog
|
|
||||||
run: |
|
|
||||||
CHANGELOG=$(awk "/## \\[${{ steps.get_version.outputs.VERSION }}\\]/{p=1;print;next} /## \\[/{p=0} p" CHANGELOG.md)
|
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
|
||||||
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITEA_API_URL: ${{ secrets.GITEA_API_URL }}
|
|
||||||
GITEA_REPOSITORY: ${{ secrets.GITEA_REPOSITORY }}
|
|
||||||
run: |
|
run: |
|
||||||
# Create release using Gitea API
|
gh release create "${{ github.ref_name }}" \
|
||||||
RESPONSE=$(curl -X POST \
|
--title "Release ${{ inputs.version }}" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
--notes "${{ inputs.changelog }}" \
|
||||||
-H "Content-Type: application/json" \
|
".pio/build/esp32dev/filaman_full.bin#filaman_full.bin" \
|
||||||
-H "accept: application/json" \
|
".pio/build/esp32dev/filaman_ota.bin#filaman_ota.bin"
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases" \
|
|
||||||
-d '{
|
|
||||||
"tag_name": "${{ github.ref_name }}",
|
|
||||||
"name": "Release ${{ steps.get_version.outputs.VERSION }}",
|
|
||||||
"body": "${{ steps.changelog.outputs.CHANGES }}",
|
|
||||||
"draft": false,
|
|
||||||
"prerelease": false
|
|
||||||
}')
|
|
||||||
|
|
||||||
# Extract release ID from response
|
|
||||||
RELEASE_ID=$(echo $RESPONSE | jq -r .id)
|
|
||||||
|
|
||||||
# Upload full firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases/${RELEASE_ID}/assets?name=filaman_full.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_full.bin
|
|
||||||
|
|
||||||
# Upload OTA firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases/${RELEASE_ID}/assets?name=filaman_ota.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_ota.bin
|
|
59
.github/workflows/providers/github-release.yml
vendored
59
.github/workflows/providers/github-release.yml
vendored
@ -1,18 +1,21 @@
|
|||||||
name: GitHub Release
|
name: GitHub Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call: # This workflow will only be triggered when called by another workflow
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
changelog:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Required for creating releases
|
contents: write
|
||||||
issues: read # Required for reading changelog
|
|
||||||
pull-requests: read # Required for reading changelog
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write # Required for creating releases at job level
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -21,19 +24,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install PlatformIO
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio esptool
|
||||||
|
|
||||||
- name: Build Firmware
|
- name: Build Firmware
|
||||||
run: |
|
run: |
|
||||||
pio run -t buildfs # Build SPIFFS
|
pio run -t buildfs
|
||||||
pio run # Build firmware
|
pio run
|
||||||
|
|
||||||
- name: Install esptool
|
|
||||||
run: |
|
|
||||||
pip install esptool
|
|
||||||
|
|
||||||
- name: Merge firmware and SPIFFS
|
- name: Merge firmware and SPIFFS
|
||||||
run: |
|
run: |
|
||||||
@ -48,36 +47,14 @@ jobs:
|
|||||||
0x290000 .pio/build/esp32dev/spiffs.bin
|
0x290000 .pio/build/esp32dev/spiffs.bin
|
||||||
|
|
||||||
- name: Prepare OTA firmware
|
- name: Prepare OTA firmware
|
||||||
run: |
|
run: cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
||||||
# Use PlatformIO to create a proper OTA image
|
|
||||||
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
|
||||||
|
|
||||||
- name: Get version from tag
|
- name: Create GitHub Release
|
||||||
id: get_version
|
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Read CHANGELOG.md
|
|
||||||
id: changelog
|
|
||||||
run: |
|
|
||||||
CHANGELOG=$(awk "/## \\[${{ steps.get_version.outputs.VERSION }}\\]/{p=1;print;next} /## \\[/{p=0} p" CHANGELOG.md)
|
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
|
||||||
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Install and Configure GitHub CLI
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
|
|
||||||
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
|
|
||||||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
|
|
||||||
&& sudo apt update \
|
|
||||||
&& sudo apt install gh -y
|
|
||||||
|
|
||||||
- name: Create Release with GitHub CLI
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release create "${{ github.ref_name }}" \
|
gh release create "${{ github.ref_name }}" \
|
||||||
--title "Release ${{ steps.get_version.outputs.VERSION }}" \
|
--title "Release ${{ inputs.version }}" \
|
||||||
--notes "${{ steps.changelog.outputs.CHANGES }}" \
|
--notes "${{ inputs.changelog }}" \
|
||||||
".pio/build/esp32dev/filaman_full.bin#filaman_full.bin" \
|
".pio/build/esp32dev/filaman_full.bin#filaman_full.bin" \
|
||||||
".pio/build/esp32dev/filaman_ota.bin#filaman_ota.bin"
|
".pio/build/esp32dev/filaman_ota.bin#filaman_ota.bin"
|
119
.github/workflows/release.yml
vendored
119
.github/workflows/release.yml
vendored
@ -1,12 +1,20 @@
|
|||||||
name: Release
|
name: GitHub Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_call:
|
||||||
tags:
|
inputs:
|
||||||
- 'v*'
|
version:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
changelog:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -16,19 +24,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install PlatformIO
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio esptool
|
||||||
|
|
||||||
- name: Build Firmware
|
- name: Build Firmware
|
||||||
run: |
|
run: |
|
||||||
pio run -t buildfs # Build SPIFFS
|
pio run -t buildfs
|
||||||
pio run # Build firmware
|
pio run
|
||||||
|
|
||||||
- name: Install esptool
|
|
||||||
run: |
|
|
||||||
pip install esptool
|
|
||||||
|
|
||||||
- name: Merge firmware and SPIFFS
|
- name: Merge firmware and SPIFFS
|
||||||
run: |
|
run: |
|
||||||
@ -43,89 +47,14 @@ jobs:
|
|||||||
0x290000 .pio/build/esp32dev/spiffs.bin
|
0x290000 .pio/build/esp32dev/spiffs.bin
|
||||||
|
|
||||||
- name: Prepare OTA firmware
|
- name: Prepare OTA firmware
|
||||||
run: |
|
run: cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
||||||
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
|
|
||||||
|
|
||||||
- name: Get version from tag
|
- name: Create GitHub Release
|
||||||
id: get_version
|
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Read CHANGELOG.md
|
|
||||||
id: changelog
|
|
||||||
run: |
|
|
||||||
CHANGELOG=$(awk "/## \\[${{ steps.get_version.outputs.VERSION }}\\]/{p=1;print;next} /## \\[/{p=0} p" CHANGELOG.md)
|
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
|
||||||
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Install jq
|
|
||||||
if: ${{ github.server_url != 'https://github.com' }}
|
|
||||||
run: sudo apt-get install -y jq
|
|
||||||
|
|
||||||
- name: Determine and run release process
|
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
GITEA_API_URL: ${{ secrets.GITEA_API_URL }}
|
|
||||||
GITEA_REPOSITORY: ${{ secrets.GITEA_REPOSITORY }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "$GITHUB_SERVER_URL" == "https://github.com" ]]; then
|
gh release create "${{ github.ref_name }}" \
|
||||||
echo "Creating GitHub Release..."
|
--title "Release ${{ inputs.version }}" \
|
||||||
curl -X POST \
|
--notes "${{ inputs.changelog }}" \
|
||||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
".pio/build/esp32dev/filaman_full.bin#filaman_full.bin" \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
".pio/build/esp32dev/filaman_ota.bin#filaman_ota.bin"
|
||||||
https://api.github.com/repos/${{ github.repository }}/releases \
|
|
||||||
-d '{
|
|
||||||
"tag_name": "${{ github.ref_name }}",
|
|
||||||
"name": "Release ${{ steps.get_version.outputs.VERSION }}",
|
|
||||||
"body": "${{ steps.changelog.outputs.CHANGES }}",
|
|
||||||
"draft": false,
|
|
||||||
"prerelease": false
|
|
||||||
}' > release.json
|
|
||||||
|
|
||||||
UPLOAD_URL=$(jq -r .upload_url release.json | sed 's/{?name,label}//')
|
|
||||||
|
|
||||||
# Upload full firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${UPLOAD_URL}?name=filaman_full.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_full.bin
|
|
||||||
|
|
||||||
# Upload OTA firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${UPLOAD_URL}?name=filaman_ota.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_ota.bin
|
|
||||||
else
|
|
||||||
echo "Creating Gitea Release..."
|
|
||||||
RESPONSE=$(curl -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "accept: application/json" \
|
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases" \
|
|
||||||
-d '{
|
|
||||||
"tag_name": "${{ github.ref_name }}",
|
|
||||||
"name": "Release ${{ steps.get_version.outputs.VERSION }}",
|
|
||||||
"body": "${{ steps.changelog.outputs.CHANGES }}",
|
|
||||||
"draft": false,
|
|
||||||
"prerelease": false
|
|
||||||
}')
|
|
||||||
|
|
||||||
RELEASE_ID=$(echo $RESPONSE | jq -r .id)
|
|
||||||
|
|
||||||
# Upload full firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases/${RELEASE_ID}/assets?name=filaman_full.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_full.bin
|
|
||||||
|
|
||||||
# Upload OTA firmware
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/octet-stream" \
|
|
||||||
"${GITEA_API_URL}/repos/${GITEA_REPOSITORY}/releases/${RELEASE_ID}/assets?name=filaman_ota.bin" \
|
|
||||||
--data-binary @.pio/build/esp32dev/filaman_ota.bin
|
|
||||||
fi
|
|
75
CHANGELOG.md
75
CHANGELOG.md
@ -1,5 +1,80 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.2.24] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update GitHub release workflow and increment version to 1.2.24
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.23] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update Gitea release workflow and increment version to 1.2.23
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.22] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update Gitea runner configuration and increment version to 1.2.22
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.21] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update Gitea release condition and increment version to 1.2.21
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.20] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update release workflows for GitHub and Gitea, increment version to 1.2.20
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.19] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- add Gitea and GitHub release workflows for version 1.2.19
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.18] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- remove Gitea and GitHub release workflows and increment version to 1.2.18
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.17] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update Gitea release workflow for version 1.2.17 and improve job structure
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.16] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update Gitea release workflow and increment version to 1.2.16
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.15] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.15 and clean up Gitea release workflow
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.14] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.14 and refactor release workflows for improved GitHub and Gitea support
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.13] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.13 and enhance release workflow with Python setup and Gitea support
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.12] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.12 and refactor release workflows for improved provider detection and execution
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.11] - 2025-02-18
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.11 and enhance GitHub and Gitea release workflows with input validation and improved error handling
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.10] - 2025-02-18
|
||||||
|
### Added
|
||||||
|
- enhance Gitea release workflow with API connection verification and URL validation; update version to 1.2.10
|
||||||
|
|
||||||
|
|
||||||
## [1.2.9] - 2025-02-18
|
## [1.2.9] - 2025-02-18
|
||||||
### Added
|
### Added
|
||||||
- update version to 1.2.9 in platformio.ini
|
- update version to 1.2.9 in platformio.ini
|
||||||
|
18
README.md
18
README.md
@ -124,6 +124,24 @@ german explanatory video: [Youtube](https://youtu.be/uNDe2wh9SS8?si=b-jYx4I1w62z
|
|||||||
- Configure WiFi settings through the captive portal.
|
- Configure WiFi settings through the captive portal.
|
||||||
- Access the web interface at `http://filaman.local` or the IP address.
|
- Access the web interface at `http://filaman.local` or the IP address.
|
||||||
|
|
||||||
|
## GitHub Actions Configuration
|
||||||
|
|
||||||
|
### Required Secrets for Gitea Releases
|
||||||
|
|
||||||
|
When using Gitea as your repository host, you need to configure the following secrets in your repository:
|
||||||
|
|
||||||
|
- `GITEA_API_URL`: The base URL of your Gitea instance, including protocol (e.g., `https://git.example.com`)
|
||||||
|
- `GITEA_TOKEN`: Your Gitea access token with permissions to create releases
|
||||||
|
- `GITEA_REPOSITORY`: The repository name in format `owner/repo` (e.g., `username/filaman`)
|
||||||
|
|
||||||
|
Example values:
|
||||||
|
```
|
||||||
|
GITEA_API_URL=https://git.example.com
|
||||||
|
GITEA_TOKEN=abcdef1234567890
|
||||||
|
GITEA_REPOSITORY=username/filaman
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure to set these secrets in your repository settings under Settings > Secrets and Variables > Actions.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.2.9"
|
version = "1.2.24"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
Reference in New Issue
Block a user