From 70f8aa9802558ffe14f0c637bba858bc5b597a57 Mon Sep 17 00:00:00 2001 From: Parker TenBroeck <51721964+ParkerTenBroeck@users.noreply.github.com> Date: Wed, 7 Jan 2026 14:17:49 -0500 Subject: [PATCH] fixed another issue in the script --- web/deploy.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/web/deploy.sh b/web/deploy.sh index 99d736a..5b10d05 100755 --- a/web/deploy.sh +++ b/web/deploy.sh @@ -90,5 +90,14 @@ cp -R dist/. ../docs/ # Commit if changed if git diff --quiet; then - echo "✅ No changes to commit -::contentReference[oaicite:0]{index=0} + 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 + +echo "🚀 Pushing '$PAGES_BRANCH' to '$REMOTE'..." +git push "$REMOTE" "$PAGES_BRANCH" + +echo "✅ Done. Returning to '$ORIG_BRANCH' (handled by trap)." \ No newline at end of file