fix(ci): use HTTPS+token instead of SSH for cargo's git-dependency fetches #5
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-https-instead-of-ssh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #4. The read-only deploy key didn't actually fix the linux runner — the real issue is deeper: this runner's container can't reach
git.toilville.dev:2222over SSH at all. It resolves to127.0.0.1and the connection is refused (checked via the real Forgejo action logs). That's a runner/image networking quirk, not an auth problem.HTTPS to
git.toilville.devworks fine in the same job —actions/checkoutalready authenticates over HTTPS successfully. So instead of continuing to chase the SSH path, this rewrites cargo's git-dependency SSH URLs to HTTPS+token viagit config --global url."...".insteadOf, reusing a proven-working transport instead of two independently fragile ones.FORGE_CI_HTTPS_TOKEN: a read-only access token scoped toToilville/mlx-rs-mirror, stored as a secret on this repo.