fix(ci): replace actions/checkout with git clone in docs workflow #108
Reference in New Issue
Block a user
Delete Branch "fix/docs-workflow-no-node"
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?
The
docsrunner is a bare host without Node.js, soactions/checkout@v4fails with:Replace with a plain
git fetch/git checkoutthat works without Node.Changes
.gitea/workflows/docs.yml— Replaceuses: actions/checkout@v4with arun:step that doesgit fetch origin main && git checkout -f origin/main(or a fresh shallow clone if no.gitexists).