Completely clean workspace folder including hidden
Some checks failed
Some checks failed
This commit is contained in:
parent
59233883fc
commit
5c685694f9
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ jobs:
|
|||
docker exec ci-dind mkdir -p /workspace
|
||||
|
||||
# Checkout code directly into DinD container using the Forgejo repository that triggered the build
|
||||
docker exec ci-dind sh -c "cd /workspace && rm -rf .git && git clone ${{ env.GITEA_SERVER_URL }}/${{ env.GITEA_REPOSITORY }}.git ."
|
||||
docker exec ci-dind sh -c "cd /workspace && rm -rf * .* 2>/dev/null || true && git clone ${{ env.GITEA_SERVER_URL }}/${{ env.GITEA_REPOSITORY }}.git ."
|
||||
|
||||
# Copy docker-compose.test.yml to DinD container (in case it's not in the repo)
|
||||
docker cp docker-compose.test.yml ci-dind:/workspace/ || true
|
||||
|
|
Loading…
Add table
Reference in a new issue