fix: Use git clone instead of curl for deploy checkout
Some checks failed
Lint & Build / Security Flaw Analysis (push) Successful in 15s
Lint & Build / Secret Scanning (push) Successful in 5s
Lint & Build / C/C++ Static Analysis (push) Successful in 28s
Lint & Build / Shell Script Analysis (push) Successful in 7s
Lint & Build / Build Firmware (push) Successful in 2m52s
Lint & Build / Deploy to ESP Fleet (push) Failing after 0s

This commit is contained in:
user
2026-02-05 22:47:51 +01:00
parent 974ffadb1c
commit 52603fb097

View File

@@ -93,10 +93,8 @@ jobs:
steps:
- name: Checkout
run: |
mkdir -p workspace
curl -sL -H "Authorization: token ${{ github.token }}" \
"https://git.mymx.me/api/v1/repos/${{ github.repository }}/archive/${{ github.ref_name }}.tar.gz" \
| tar -xz --strip-components=1 -C workspace
git clone --depth=1 --branch=${{ github.ref_name }} \
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git workspace
- name: Build firmware
run: |