Skip to content

fix: clean build dir in pre-push hook to avoid EEXIST errors - #423

Merged
dwmkerr merged 1 commit into
mainfrom
fix/pre-push-hook-clean-build
Feb 24, 2026
Merged

fix: clean build dir in pre-push hook to avoid EEXIST errors#423
dwmkerr merged 1 commit into
mainfrom
fix/pre-push-hook-clean-build

Conversation

@dwmkerr

@dwmkerr dwmkerr commented Feb 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds rm -rf build before npm run build in the pre-push hook
  • Prevents the Docusaurus redirect plugin from failing with EEXIST when a stale build/ directory exists from a previous build

Continue Tasks: ❌ 3 failed — View all

@dwmkerr
dwmkerr merged commit e132c10 into main Feb 24, 2026
2 of 5 checks passed
@dwmkerr
dwmkerr deleted the fix/pre-push-hook-clean-build branch February 24, 2026 14:48
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://dwmkerr.github.io/effective-shell/pr-preview/pr-423/

Built to branch gh-pages at 2026-02-24 14:49 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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