Skip to content

Commit a27df7d

Browse files
committed
fixup
1 parent 61aa797 commit a27df7d

File tree

4 files changed

+37
-9
lines changed

4 files changed

+37
-9
lines changed

.github/workflows/build-android.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build-android
1+
name: Build for Android
22

33
on:
44
workflow_dispatch:

.github/workflows/build-ios.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build-ios
1+
name: Build for iOS
22

33
on:
44
workflow_dispatch:

.github/workflows/build-web.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build web & publish to Github Pages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build-and-deploy-web:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Clone repository
11+
uses: actions/checkout@v4
12+
- name: Cache Flutter
13+
uses: actions/cache@v3
14+
id: flutter-cache
15+
with:
16+
key: $GITHUB_SHA-flutter
17+
path: ~/.flutter
18+
- name: Set up Flutter
19+
uses: subosito/flutter-action@v2
20+
with:
21+
channel: stable
22+
cache: true
23+
# - name: Build and deploy to GH pages
24+
# uses: bluefireteam/flutter-gh-pages@v7
25+
- run: flutter pub get
26+
- run: flutter build web --release
27+
- name: Deploy to GH pages
28+
uses: peaceiris/actions-gh-pages@v4

.github/workflows/publish-web.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to Github Pages
1+
name: Build web & publish to Github Pages
22

33
on:
44
workflow_dispatch:
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
channel: stable
2222
cache: true
23-
# - name: Build and deploy to GH pages
24-
# uses: bluefireteam/flutter-gh-pages@v7
25-
- run: flutter pub get
26-
- run: flutter build web --release
27-
- name: Deploy to GH pages
28-
uses: peaceiris/actions-gh-pages@v4
23+
- name: Build and deploy to GH pages
24+
uses: bluefireteam/flutter-gh-pages@v7
25+
# - run: flutter pub get
26+
# - run: flutter build web --release
27+
# - name: Deploy to GH pages
28+
# uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)