Skip to content

Merge pull request #303 from HydrogenC/admin-page #322

Merge pull request #303 from HydrogenC/admin-page

Merge pull request #303 from HydrogenC/admin-page #322

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Prepare Dependencies
run: |
flutter pub get
flutter pub global activate intl_utils
flutter pub global run intl_utils:generate
- name: Generate Models
run: dart run build_runner build --delete-conflicting-outputs
- name: Build
run: |
flutter build web --release --web-renderer html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: build/web