Skip to content

Commit

Permalink
modified deploy.yml wrong directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cia1099 committed Jul 12, 2024
1 parent c0d57d4 commit ce9a7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

# 构建 Flutter Web 应用
- name: Build Flutter Web
run: flutter build web --release
run: cd example && flutter build web --release

# 部署到 GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/web
publish_dir: example/build/web

0 comments on commit ce9a7d3

Please sign in to comment.