Fix analysis options #120
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: Flutter Web | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build Web | |
env: | |
my_secret: ${{secrets.commit_secret}} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'beta' | |
- run: flutter config --enable-web | |
- run: flutter pub get | |
- run: flutter analyze | |
- run: flutter test test | |
- run: make build build_args=--release | |
- run: | | |
cd build/web | |
echo tofu.quest > CNAME | |
git init | |
git config --global user.email [email protected] | |
git config --global user.name 'Aaron Madlon-Kay' | |
git status | |
git remote add origin https://${{secrets.commit_secret}}@github.com/amake/isittofu.git | |
git checkout -b gh-pages | |
git add --all | |
git commit -m "CI update" | |
git push origin gh-pages -f |