Skip to content

Another update to .github/workflows/publish.yaml... #58

Another update to .github/workflows/publish.yaml...

Another update to .github/workflows/publish.yaml... #58

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: "stable"
- name: Install dependencies
run: flutter pub get
working-directory: example
- name: Build Web
run: flutter build web --release
working-directory: example
- name: Verify Build Directory
run: ls -l example/build/web
- name: Deploy to GitHub Pages
uses: bluefireteam/flutter-gh-pages@v7
with:
working-directory: example