Skip to content

Deploy to GitHub Pages #11

Deploy to GitHub Pages

Deploy to GitHub Pages #11

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_dispatch:
workflow_call:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Flutter 🔧
uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter doctor -v
- name: Flutter Build 🏗️
run: cd example;flutter build web --release --base-href /surrealdb_wasm/
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: "./example/build/web"