Skip to content

Commit 7c35785

Browse files
committed
web deployment test with debugging steps
1 parent a42548b commit 7c35785

5 files changed

Lines changed: 42 additions & 36 deletions

File tree

.env

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

.github/workflows/build_web.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,19 @@ jobs:
1919
flutter-version: '3.29.2'
2020
channel: 'stable'
2121

22+
- name: Enable web support
23+
run: flutter config --enable-web
24+
2225
- name: Install dependencies
2326
run: flutter pub get
2427

2528
- name: Build web
26-
run: flutter build web --release
29+
run: flutter build web --release --web-renderer html
30+
31+
- name: Debug build output
32+
run: |
33+
ls -la
34+
ls -la build/web || echo "build/web directory not found"
2735
2836
- name: Create or update web branch
2937
run: |
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
name: Build Windows EXE
1+
# name: Build Windows EXE
22

3-
on: [push, workflow_dispatch]
3+
# on: [push, workflow_dispatch]
44

5-
jobs:
6-
build-windows:
7-
runs-on: windows-latest
8-
steps:
9-
- name: Checkout code
10-
uses: actions/checkout@v4
5+
# jobs:
6+
# build-windows:
7+
# runs-on: windows-latest
8+
# steps:
9+
# - name: Checkout code
10+
# uses: actions/checkout@v4
1111

12-
- name: Setup Flutter
13-
uses: subosito/flutter-action@v2
14-
with:
15-
channel: stable
16-
cache: true
12+
# - name: Setup Flutter
13+
# uses: subosito/flutter-action@v2
14+
# with:
15+
# channel: stable
16+
# cache: true
1717

18-
- name: Install dependencies
19-
run: flutter pub get
18+
# - name: Install dependencies
19+
# run: flutter pub get
2020

21-
# - name: Build Windows EXE
22-
# env:
23-
# SUPABASE_URL: ${{ vars.SUPABASE_URL }}
24-
# SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
25-
# run: flutter build windows --release
21+
# # - name: Build Windows EXE
22+
# # env:
23+
# # SUPABASE_URL: ${{ vars.SUPABASE_URL }}
24+
# # SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
25+
# # run: flutter build windows --release
2626

27-
- name: Activate Fastforge
28-
run: dart pub global activate fastforge
27+
# - name: Activate Fastforge
28+
# run: dart pub global activate fastforge
2929

30-
- name: Package using Fastforge
31-
run: fastforge package --platform windows --targets exe
30+
# - name: Package using Fastforge
31+
# run: fastforge package --platform windows --targets exe
3232

33-
- name: Upload Artifact
34-
uses: actions/upload-artifact@v4
35-
with:
36-
name: WindowsExecutable
37-
path: dist/0.1.0/cookethflow-0.1.0-windows-setup.exe
38-
retention-days: 7
33+
# - name: Upload Artifact
34+
# uses: actions/upload-artifact@v4
35+
# with:
36+
# name: WindowsExecutable
37+
# path: dist/0.1.0/cookethflow-0.1.0-windows-setup.exe
38+
# retention-days: 7

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ app.*.map.json
4343
/android/app/debug
4444
/android/app/profile
4545
/android/app/release
46-
/dist/
46+
/dist/
47+
.env
48+
dotenv

dotenv

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

0 commit comments

Comments
 (0)