fixed another issue with script

This commit is contained in:
Parker TenBroeck 2026-01-07 14:22:39 -05:00
parent 70f8aa9802
commit 1f5e5210ea

View file

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