From a75e5c125d7a5da51750c9430303d1ffc9f03053 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Thu, 2 Mar 2023 17:00:42 +0000 Subject: [PATCH 1/3] remove --base-href /app/ for #322 when using subdomain app.dwyl.com --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48ff709e..af49b7c0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,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 --base-href / # must be Github's repo name - name: Deploy to Github Pages uses: JamesIves/github-pages-deploy-action@v4 From a216337047d1034f4607bd983722ad0a0eb1dfd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lui=CC=81s=20Arteiro?= Date: Thu, 2 Mar 2023 17:08:44 +0000 Subject: [PATCH 2/3] feat: Testing removing the argument. #322 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index af49b7c0..9f92742f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,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 / # 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 From 512b704e79a4064158f23a65d7ed0958690d6fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lui=CC=81s=20Arteiro?= Date: Thu, 2 Mar 2023 17:09:18 +0000 Subject: [PATCH 3/3] fix: This workflow should only work when changes are made to main. #322 --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f92742f..161ca5c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,8 +2,7 @@ name: deploy to Github Pages on: push: branches: [ main ] - pull_request: - branches: [ main ] + permissions: contents: write