Skip to content

Commit

Permalink
ci: release example app to github pages.
Browse files Browse the repository at this point in the history
Signed-off-by: xsahil03x <xdsahil@gmail.com>
  • Loading branch information
xsahil03x committed Jul 3, 2023
1 parent 184422c commit 9a3dfc2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/giffy_dialog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,29 @@ jobs:
- name: 📁 Upload coverage to Codecov
uses: codecov/codecov-action@v3

release:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
defaults:
run:
working-directory: example
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v3

- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.10.0
channel: stable
cache: true

- name: 📁 Build and release
uses: bluefireteam/flutter-gh-pages@v7
with:
baseHref: /giffy_dialog/
workingDir: example

pana:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1

0 comments on commit 9a3dfc2

Please sign in to comment.