Skip to content

Commit

Permalink
Merge pull request #36 from koji-1009/chore/demo_page
Browse files Browse the repository at this point in the history
chore: Add deploy demo workflow
  • Loading branch information
koji-1009 authored Jul 22, 2024
2 parents 1004afb + ff24972 commit 913abfd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy preview

on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: flutter pub get
working-directory: example
- run: flutter build web --base-href "/paging_view/" --wasm
working-directory: example
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/build/web
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Like Android Jetpack's Paging library 3, manages data and displays paged lists.

## Live preview

https://koji-1009.github.io/paging_view/

## How to use

1. Create a class that is extended `DataSource`.
Expand Down

0 comments on commit 913abfd

Please sign in to comment.