Skip to content

Commit

Permalink
ci: fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
riscait committed Oct 12, 2023
1 parent 72fd1a7 commit f103e79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ on:

defaults:
run:
working-directory: packages/awaitable_button/example
working-directory: example

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- run: flutter pub get

- run: flutter build web --web-renderer canvaskit --base-href="/flutter_widgets/"
- run: flutter build web --web-renderer canvaskit --base-href="/awaitable_button/"

- name: Deploy to GithubPages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/awaitable_button/example/build/web
publish_dir: ./example/build/web

0 comments on commit f103e79

Please sign in to comment.