Skip to content

Commit

Permalink
Merge pull request #324 from dwyl/gh-pages-deploy-issue-#322
Browse files Browse the repository at this point in the history
PR: Remove `--base-href /app/` for #322 when using subdomain app.dwyl.com
  • Loading branch information
LuchoTurtle authored Mar 2, 2023
2 parents a2290aa + 512b704 commit 4ae03e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: deploy to Github Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]


permissions:
contents: write
Expand All @@ -25,7 +24,7 @@ jobs:

# See stackoverflow.com/questions/74164386/flutter-web-shows-blank-page-on-github-deployment.
- name: Install and Build
run: flutter build web --release --web-renderer html --base-href /app/ # must be Github's repo name
run: flutter build web --release --web-renderer html

- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 4ae03e4

Please sign in to comment.