channel update #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ./ |