Skip to content

feat(ref: no-ref): ci-cd #1

feat(ref: no-ref): ci-cd

feat(ref: no-ref): ci-cd #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- develop
jobs:
deploy:
name: Build and Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.27.1"
channel: "stable"
- name: Install Dependencies
run: flutter pub get
- name: Build Flutter Web
run: flutter build web
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/web