Skip to content

Commit f22c57b

Browse files
authored
Merge pull request #5 from ph-value/feat/url-settings
2 parents 30bc56a + a90e585 commit f22c57b

File tree

10 files changed

+1405
-754
lines changed

10 files changed

+1405
-754
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ jobs:
2525
- name: Build Flutter web
2626
run: flutter build web
2727

28-
- name: Copy posts to build/web/assets
28+
- name: Build Flutter Web (user page => base-href "/")
2929
run: |
30-
mkdir -p build/web/post
31-
cp -r post/. build/web/post/
32-
ls -al build/web/post || true
30+
flutter build web --release --base-href /
31+
cp build/web/index.html build/web/404.html
3332
3433
- name: Deploy to GitHub Pages
3534
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)