Skip to content

Commit b5d95cc

Browse files
committed
fix: explicit push to master branch in workflow
1 parent c708f39 commit b5d95cc

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/release-firmware.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,13 @@ jobs:
141141
{
142142
"chipFamily": "ESP32",
143143
"parts": [
144-
{ "path": "/SecureGen/firmware/bootloader-esp32.bin", "offset": 4096 },
145-
{ "path": "/SecureGen/firmware/partitions-esp32.bin", "offset": 32768 },
146-
{ "path": "/SecureGen/firmware/firmware-esp32.bin", "offset": 65536 }
144+
{ "path": "/SecureGen/firmware/merged-firmware-esp32.bin", "offset": 0 }
147145
]
148146
},
149147
{
150148
"chipFamily": "ESP32-S3",
151149
"parts": [
152-
{ "path": "/SecureGen/firmware/bootloader-s3.bin", "offset": 0 },
153-
{ "path": "/SecureGen/firmware/partitions-s3.bin", "offset": 32768 },
154-
{ "path": "/SecureGen/firmware/firmware-s3.bin", "offset": 65536 }
150+
{ "path": "/SecureGen/firmware/merged-firmware-s3.bin", "offset": 0 }
155151
]
156152
}
157153
]
@@ -162,9 +158,9 @@ jobs:
162158
run: |
163159
git config user.name "github-actions[bot]"
164160
git config user.email "github-actions[bot]@users.noreply.github.com"
165-
git add website/public/firmware/
161+
git add -f website/public/firmware/
166162
git commit -m "firmware: update binaries for ${{ github.ref_name }}" || true
167-
git push
163+
git push origin HEAD:master
168164
169165
- name: Create GitHub Release
170166
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)