fix(ci): use /tmp for checkout and build, avoid workspace #15
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-v2"
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?
Root cause identified via honest diagnostic (#51609): git clone to a new empty directory works, but git clone into the cursorrent directory (the Forgejo runner workspace) fails because the workspace already contains files.
This version clones to /tmp/build (a fresh directory), builds there, and deploys from there - avoiding all workspace-related issues. No shopt, no rm -rf, no shell-specific syntax.