Skip to content

Trigger deployment

Trigger deployment #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ master ]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- run: flutter clean
- run: flutter build web --release
- run: touch build/web/.nojekyll
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web
cname: ''
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'