Skip to content

Commit 7eb9a0b

Browse files
committed
upd autimation
1 parent 2c78b39 commit 7eb9a0b

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@ jobs:
1616
with:
1717
channel: stable
1818

19-
- name: Install dependencies
20-
run: flutter pub get
19+
- name: Build the Flutter web application
20+
shell: bash
21+
run: |
22+
flutter pub get
23+
flutter build web --release --base-href "https://greylabsdev.github.io/ThreeactionsArea/"
2124
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-
with:
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./build/web
32-
keep_files: true
25+
- name: Deploy to GitHub pages
26+
shell: bash
27+
run: |
28+
git add build/web/ -f
29+
git commit -m "Deploy Flutter Web Application"
30+
git push origin $(git subtree split --prefix=build/web/):main -f

0 commit comments

Comments
 (0)