fix(ci): clear workspace before git clone + replace GitHub actions with shell commands #14
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-final"
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:
git clone URL .fails on the Forgejo runner because the workspace directory already contains files (created by the runner framework). The diagnostic workflow proved git clone works to a new directory (/tmp/test-clone) but not to the existing workspace.Fix:
shopt -s dotglob && rm -rf *) before cloningpeaceiris/actions-hugo@v3with directcurldownload of Hugo extended .debgarygrossgarten/github-action-scp@releasewith raw ssh/scp commandsactions/setup-goandactions/cache(not needed for Hugo builds)