Skip to content

Merge pull request #3 from CLucera/main #21

Merge pull request #3 from CLucera/main

Merge pull request #3 from CLucera/main #21

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable' # or: 'beta' or 'master'
- run: flutter config --enable-web
- run: flutter pub get
- run: flutter test
- run: |
cd example/
flutter pub get
flutter build web --release
git clone --single-branch "https://${{ secrets.PAT }}@github.com/bernaferrari/bernaferrari.github.io.git" "clone_dir"
rm -rf clone_dir/ColorBlindnessFlutter
cp -r build/web clone_dir/ColorBlindnessFlutter
cd clone_dir
git config user.name github-actions
git config user.email github-actions@github.com
git add *
git commit -m "generate ColorBlindnessFlutter"
git push