Skip to content

fix(cd): clean dist directories before rename on self-hosted runner - #121

Merged
Gaubee merged 1 commit into
mainfrom
fix/cd-dist-cleanup
Dec 26, 2025
Merged

Gaubee merged 1 commit into
mainfrom
fix/cd-dist-cleanup

Conversation

@Gaubee

@Gaubee Gaubee commented Dec 26, 2025

Copy link
Copy Markdown
Contributor

Problem

CD workflow fails on self-hosted runner with error:

mv: rename dist to dist-web/dist: Directory not empty

This happens because dist-web and dist-dweb directories from previous builds are not cleaned up.

Solution

Add rm -rf before mv to ensure the target directories don't exist.

@Gaubee
Gaubee merged commit 72f1a6f into main Dec 26, 2025
5 checks passed
@Gaubee
Gaubee deleted the fix/cd-dist-cleanup branch December 26, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant