diff --git a/web/deploy.sh b/web/deploy.sh index 5b10d05..426811d 100755 --- a/web/deploy.sh +++ b/web/deploy.sh @@ -88,12 +88,13 @@ mkdir -p docs # Copy contents of dist into docs cp -R dist/. ../docs/ +git add docs + # Commit if changed if git diff --quiet; then echo "✅ No changes to commit in docs/. Skipping commit." else echo "📝 Committing docs update..." - git add docs git commit -m "Deploy: update docs from dist" fi