Skip to content

Commit 0c31297

Browse files
Update build.yml
1 parent 975feae commit 0c31297

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,28 @@ jobs:
6060
file_pattern: '*.xml *.json *.png'
6161
build_web:
6262
name: Build & publish for gh-pages
63-
if: github.event_name == 'release'
63+
if: github.event_name == 'release' && always()
6464
runs-on: ubuntu-latest
65-
needs: [ do_tests, gen_icons ]
65+
needs: [ do_tests, gen_icons, build_ios ]
6666
steps:
6767
- uses: actions/checkout@v4
6868
with:
6969
ref: main
70+
- name: Setup node for publishing AltStore repo
71+
uses: actions/setup-node@v1
72+
with:
73+
node-version: '10.x'
7074
- uses: subosito/flutter-action@v2
7175
with:
7276
cache: true
7377

7478
- run: flutter pub get
79+
- name: Run altstore-github
80+
run: npx altstore-github --config web/altstore.template.json > web/altstore.json
7581

7682
# Implement this troguh other action - run: dart run sqflite_common_ffi_web:setup
77-
- uses: bluefireteam/flutter-gh-pages@v9
83+
- name: Deploy
84+
uses: bluefireteam/flutter-gh-pages@v9
7885
with:
7986
compileToWasm: true
8087
baseHref: /${{ github.event.repository.name }}/

0 commit comments

Comments
 (0)