Skip to content

chore(deps): bump mocktail from 1.0.3 to 1.0.4 #118

chore(deps): bump mocktail from 1.0.3 to 1.0.4

chore(deps): bump mocktail from 1.0.3 to 1.0.4 #118

Workflow file for this run

name: "Deploy Web App to Github Pages"
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: πŸ“š Git Checkout
uses: actions/checkout@v4
- name: 🀫 Set API Keys
run: echo $API_KEYS_JSON | base64 -d > api-keys.json
env:
API_KEYS_JSON: ${{ secrets.API_KEYS_JSON }}
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
channel: stable
- name: πŸ“¦ Install Dependencies
run: |
flutter pub get
- name: βš™οΈ Run Code Generation
run: |
flutter pub run build_runner build --delete-conflicting-outputs
- name: 🌏 Enable Web
run: |
flutter config --enable-web
- name: πŸ› οΈ Build Web
run: flutter build web --release -t lib/main.dart --dart-define-from-file api-keys.json
- name: πŸ€– Configure Github Actions
run: |
git config user.name github-actions
git config user.email [email protected]
- name: πŸŽ„ Extract Web Build
run: |
git --work-tree build/web add --all
git add .well-known --all
git add _config.yml
- name: πŸš€ Push to gh-pages
run: |
git commit -m "Automatic deployment by github-actions"
git push origin HEAD:gh-pages --force