Skip to content

Release v0.5.0

Release v0.5.0 #7

Workflow file for this run

name: Deploy
on:
# push:
# branches:
# - main
# paths:
# - '**.dart'
# - '**.yaml'
# - '**.yml'
release:
types: [ published ]
workflow_dispatch:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter --version
- name: Install dependencies
run: flutter pub get
- name: Update version
run: dart scripts/update_version.dart
- name: Build
run: flutter build web --release --web-renderer html --csp
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web