Skip to content

feat: Add screens using the gpt3 generated text (#3) #6

feat: Add screens using the gpt3 generated text (#3)

feat: Add screens using the gpt3 generated text (#3) #6

name: Build and deploy on GitHub Pages
on:
workflow_dispatch:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: flutter test
- run: flutter build web
name: Deploy to GitHub Pages
if: success()
- uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: build/web
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}