ci: build workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Flutter | |
uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- name: Download dependencies | |
run: flutter pub get | |
# - run: flutter test # TODO Needs supabase | |
- name: Compile web and put in gh-pages branch | |
run: dart run peanut | |
- name: Push gh-pages | |
run: git push origin gh-pages |