Skip to content

Commit 95e3b7a

Browse files
committed
refactor: clean up architecture and add error page
- Remove unused adapters (adapter-auto, adapter-cloudflare-workers) - Update compatibility_date to 2025-01-01 - Extract generateInstallScript to lib/server/install-script.ts - Extract PRESET_PACKAGES to shared lib/presets.ts - Add +error.svelte for 404/500 pages - Improve deploy workflow migration logging
1 parent aa9d7db commit 95e3b7a

File tree

10 files changed

+371
-586
lines changed

10 files changed

+371
-586
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@ jobs:
3232
run: |
3333
for migration in migrations/*.sql; do
3434
if [ -f "$migration" ]; then
35-
echo "Applying migration: $migration"
36-
wrangler d1 execute openboot --remote --file="$migration" || true
35+
echo "::group::Migration: $migration"
36+
if wrangler d1 execute openboot --remote --file="$migration" 2>&1; then
37+
echo "Migration applied successfully"
38+
else
39+
echo "Migration skipped (already applied or error)"
40+
fi
41+
echo "::endgroup::"
3742
fi
3843
done
3944

0 commit comments

Comments
 (0)