1 parent ca29a72 commit f49a6dfCopy full SHA for f49a6df
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Flutter Web Deploy
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master # Cambia a main si tu rama principal se llama así
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
14
+ - uses: subosito/flutter-action@v2
15
+ with:
16
+ channel: 'stable'
17
18
+ - name: Build Web
19
+ run: flutter build web --base-href "/pimos_flutter/" --release
20
21
+ - name: Deploy to GitHub Pages
22
+ uses: JamesIves/github-pages-deploy-action@v4
23
24
+ folder: build/web
25
+ branch: gh-pages
0 commit comments