Skip to content

Create WorkFlow

Create WorkFlow #1

Workflow file for this run

name: Flutter Web Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- run: flutter build web --release --base-href /flutter_calculator/
- run: git config user.name github-actions
- run: git config user.email github-actions@github.com
- run: git --work-tree build/web add --all
- run: git commit -m "Automatic deployment by github-actions"
- run: git push origin HEAD:gh-pages --force