We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf775f commit bfcd020Copy full SHA for bfcd020
.github/workflows/main.yml
@@ -0,0 +1,32 @@
1
+name: "Web - Build and Publish"
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+jobs:
7
+ build-and-deploy:
8
+ name: Build Web
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Set up Flutter
15
+ uses: subosito/flutter-action@v2
16
+ with:
17
+ channel: stable
18
19
+ - name: Install dependencies
20
+ run: flutter pub get
21
22
+ - name: Build web
23
+ run: flutter build web --release --base-href /ThreeactionsArea/
24
+ env:
25
+ FLUTTER_BUILD_WEB: true
26
27
+ - name: Deploy to GitHub Pages
28
+ uses: peaceiris/actions-gh-pages@v3
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
+ publish_dir: ./build/web
32
+ keep_files: true
web/.nojekyll
0 commit comments