Skip to content

Commit aaf9158

Browse files
committed
Update flutter ci web
1 parent 3a96429 commit aaf9158

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/flutter_ci_cd.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,8 @@ jobs:
9191
flutter build web --release --base-href "/"
9292
echo "Web build completed!"
9393
94-
- name: Setup Pages
95-
uses: actions/configure-pages@v4
96-
97-
- name: Upload web artifact
98-
uses: actions/upload-pages-artifact@v3
99-
with:
100-
path: build/web
101-
10294
- name: Deploy to GitHub Pages
103-
uses: actions/deploy-pages@v4
95+
uses: peaceiris/actions-gh-pages@v4
10496
with:
105-
token: ${{ secrets.GITHUB_TOKEN }}
106-
target_branch: gh-pages
97+
github_token: ${{ secrets.GITHUB_TOKEN }}
98+
publish_dir: ./build/web

0 commit comments

Comments
 (0)