Skip to content

Update main.dart

Update main.dart #12

Workflow file for this run

name: KTU Result
on: push
jobs:
hosting:
name: Deploy Website
runs-on: ubuntu-latest
steps:
# Checkout Repository
- uses: actions/checkout@v3
# Install Flutter command
- uses: subosito/flutter-action@v2.8.0
with:
channel: 'dev'
# Build Website
- name: Build Website
run: |
flutter channel stable
flutter upgrade
flutter config --enable-web
flutter pub get
flutter build web --release
working-directory: ./
# Deploy Firebase Hosting
- name: Deploy Firebase Hosting
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:ktu-edu-in-result
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_PATH: ./