File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - master
10+ types :
11+ - closed
1012
1113permissions :
1214 contents : write
1315
1416jobs :
1517 build-and-deploy :
18+ if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
1619 runs-on : ubuntu-latest
1720
1821 steps :
3437 - name : Install dependencies
3538 run : flutter pub get
3639
40+ - name : Debug environment variables
41+ run : |
42+ echo "SUPABASE_URL is set: ${{ secrets.SUPABASE_URL != '' }}"
43+ echo "SUPABASE_KEY is set: ${{ secrets.SUPABASE_KEY != '' }}"
44+ env :
45+ SUPABASE_URL : ${{ secrets.SUPABASE_URL }}
46+ SUPABASE_KEY : ${{ secrets.SUPABASE_KEY }}
47+
3748 - name : Build web
38- run : flutter build web --release --dart-define="SUPABASE_URL=${{ secrets.SUPABASE_URL }}" --dart-define="SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}"
49+ run : flutter build web --release --no-source-maps -- dart-define="SUPABASE_URL=${{ secrets.SUPABASE_URL }}" --dart-define="SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}"
3950
4051 - name : Debug build output
4152 run : |
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ class DashboardDrawer extends StatelessWidget {
141141 ),
142142 ),
143143 const SizedBox (height: 40 ),
144- ThemeToggle (),
145- SizedBox (height: 16 ,),
144+ // ThemeToggle(),
145+ // SizedBox(height: 16,),
146146 Padding (
147147 padding: const EdgeInsets .symmetric (horizontal: 20 ),
148148 child: TextButton .icon (
You can’t perform that action at this time.
0 commit comments