Skip to content

ci: build workflow

ci: build workflow #4

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
web:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
- name: Download dependencies
run: flutter pub get
# - run: flutter test # TODO Needs supabase
- name: Configure git user
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "[email protected]"
- name: Compile web and put in gh-pages branch
run: dart run peanut
- name: Push gh-pages
run: git push origin gh-pages