Skip to content

Commit c6ab8c4

Browse files
committed
Remove workflow for web gh-page
1 parent 0019a95 commit c6ab8c4

2 files changed

Lines changed: 57 additions & 99 deletions

File tree

.github/workflows/flutter_ci_cd.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -16,48 +16,6 @@ env:
1616

1717
jobs:
1818

19-
# ─────────────────────────────────────────────
20-
# JOB 1 — Build & Deploy Flutter Web → gh-pages
21-
# ─────────────────────────────────────────────
22-
deploy-web:
23-
name: Deploy Web to GitHub Pages
24-
runs-on: ubuntu-latest
25-
26-
steps:
27-
- name: Checkout repository
28-
uses: actions/checkout@v4
29-
30-
- name: Setup Flutter
31-
uses: subosito/flutter-action@v2
32-
with:
33-
flutter-version: ${{ env.FLUTTER_VERSION }}
34-
channel: master
35-
cache: true
36-
37-
- name: Install dependencies
38-
run: flutter pub get
39-
40-
- name: Build Flutter Web
41-
run: |
42-
flutter build web \
43-
--release \
44-
--base-href "/${{ github.event.repository.name }}/"
45-
46-
- name: Deploy to GitHub Pages (gh-pages branch)
47-
uses: peaceiris/actions-gh-pages@v4
48-
with:
49-
github_token: ${{ secrets.GITHUB_TOKEN }}
50-
publish_dir: build/web
51-
publish_branch: gh-pages
52-
# Optional: keep old deployments or force-push
53-
force_orphan: false
54-
# Optional: add a .nojekyll file so assets load correctly
55-
enable_jekyll: false
56-
commit_message: "deploy: web build for ${{ github.ref_name }}"
57-
58-
# ─────────────────────────────────────────────
59-
# JOB 2 — Build Android APK with ABI splits
60-
# ─────────────────────────────────────────────
6119
build-android:
6220
name: Build & Release Android APK
6321
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)