File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 4444 web :
4545 name : Web
4646 runs-on : ubuntu-latest
47+ permissions :
48+ contents : read
49+ pages : write
50+ id-token : write
51+ environment :
52+ name : github-pages
53+ url : ${{ steps.deployment.outputs.page_url }}
4754 steps :
4855 - name : Set up Flutter
4956 uses : subosito/flutter-action@v2
5562 with :
5663 path : " app"
5764
65+ - name : Setup Pages
66+ uses : actions/configure-pages@v5
67+
5868 - name : Build web release
5969 run : |
6070 cd app
6777 cd app
6878 cp privacy-policy/index.html build/web/privacy-policy.html
6979
80+ # Deploy to Firebase
7081 - name : Deploy to Firebase
7182 uses : w9jds/firebase-action@master
7283 with :
7586 PROJECT_PATH : " app"
7687 GCP_SA_KEY : ${{ secrets.GCP_SA_KEY }}
7788
89+ # GitHub Pages deployment steps
90+ - name : Upload artifact for GitHub Pages
91+ uses : actions/upload-pages-artifact@v3
92+ with :
93+ path : app/build/web
94+
95+ - name : Deploy to GitHub Pages
96+ id : deployment
97+ uses : actions/deploy-pages@v4
98+
7899 android :
79100 name : Android
80101 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments