Skip to content

remove listener

remove listener #13

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy the build
"on":
push:
branches:
- main
defaults:
run:
working-directory: ./example
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
# flutter-version: '3.3.10'
channel: "stable"
- run: flutter clean
- run: flutter pub get
- run: flutter build web --release
- run: cd .. && flutter test --coverage --coverage-path coverage/lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: maheshmnj/navbar_router
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: "./example/build/web"
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1