Skip to content

Merge pull request #16 from FlutterFriends/brylie/remove-focus-areas #38

Merge pull request #16 from FlutterFriends/brylie/remove-focus-areas

Merge pull request #16 from FlutterFriends/brylie/remove-focus-areas #38

Workflow file for this run

name: Flutter Web Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
- name: Build web app
working-directory: random_workout
run: flutter build web --release --base-href /random_workout_generator/
- name: Configure Git, commit, and push
run: |
git config user.name github-actions
git config user.email [email protected]
git --work-tree random_workout/build/web add --all
git commit -m "Automatic deployment by github-actions"
git push origin HEAD:gh-pages --force