Skip to content

Commit ad007af

Browse files
author
frckbrice
committed
cleanup: remove redundant ci-cd.yml workflow
- ci.yml already handles CI tasks (lint, test, build, security) - deploy.yml handles deployment to Vercel - Remove duplicate functionality to avoid confusion
1 parent c3e96a3 commit ad007af

File tree

11 files changed

+32
-699
lines changed

11 files changed

+32
-699
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ yarn-error.log*
3737
next-env.d.ts
3838

3939
certificates
40-
scripts/
40+
scripts/
41+
42+
tsconfig.tsbuildinfo
43+
public_schema_dump.sql

SETUP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
```env
1919
NEXT_PUBLIC_SITE_URL=http://localhost:3000
2020
NEXT_PUBLIC_SUPABASE_URL=http://localhost:5430
21-
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
22-
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
21+
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
22+
SUPABASE_SERVICE_ROLE_KEY=eyJh...
2323
NEXT_PUBLIC_DATABASE_URL=postgres://postgres:postgres@localhost:54322/postgres
2424
```
2525

@@ -72,8 +72,8 @@
7272

7373
## 🔑 Test Credentials
7474

75-
- **Anon Key**: `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0`
76-
- **Service Key**: `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU`
75+
- **Anon Key**: `eyJ...`
76+
- **Service Key**: `eyJ...`
7777

7878
## 🛠️ Troubleshooting
7979

TROUBLESHOOTING.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ Create `.env` file with correct values:
240240
# Supabase CLI Configuration
241241
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
242242
NEXT_PUBLIC_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres
243-
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
244-
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
243+
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
244+
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=eyJ...
245245
NEXT_PUBLIC_JWT_SECRET=super-secret-jwt-token-with-at-least-32-characters-long
246246
NEXT_PUBLIC_SITE_URL=http://localhost:3000
247247
```
@@ -311,7 +311,7 @@ yarn build
311311
yarn lint
312312
```
313313

314-
## Verification Checklist
314+
## Verification Checklist
315315

316316
- [ ] Supabase CLI is running (`supabase status`)
317317
- [ ] All database tables exist (`\dt` command)
@@ -325,7 +325,7 @@ yarn lint
325325
- [ ] Login redirects to dashboard
326326
- [ ] Dashboard loads without errors
327327

328-
## 🆘 Still Having Issues?
328+
## Still Having Issues?
329329

330330
1. **Check the logs**: Look at server console and browser console
331331
2. **Verify environment**: Ensure all environment variables are set correctly
@@ -335,20 +335,20 @@ yarn lint
335335
## 📝 Recent Fixes Applied
336336

337337
### Authentication Fixes (Latest)
338-
- Fixed server-side Supabase client configuration
339-
- Updated auth actions to use server-side client
340-
- Added proper session handling in user provider
341-
- Fixed middleware configuration and routing
342-
- Added debugging logs for authentication flow
338+
- Fixed server-side Supabase client configuration
339+
- Updated auth actions to use server-side client
340+
- Added proper session handling in user provider
341+
- Fixed middleware configuration and routing
342+
- Added debugging logs for authentication flow
343343

344344
### Database Fixes (Latest)
345-
- Updated database configuration to use correct URL
346-
- Created missing database tables and enum types
347-
- Fixed foreign key relationships
348-
- Resolved JWT secret mismatch
345+
- Updated database configuration to use correct URL
346+
- Created missing database tables and enum types
347+
- Fixed foreign key relationships
348+
- Resolved JWT secret mismatch
349349

350350
### Build Fixes (Latest)
351-
- Fixed UUID import in dashboard setup
352-
- Resolved merge conflicts in middleware
353-
- Added missing dependencies
354-
- Fixed file structure issues
351+
- Fixed UUID import in dashboard setup
352+
- Resolved merge conflicts in middleware
353+
- Added missing dependencies
354+
- Fixed file structure issues

0 commit comments

Comments
 (0)