Skip to content

add humans.txt rel

add humans.txt rel #21

name: Deploy to Cloudflare
on:
push:
branches:
- main
paths:
- 'web/**'
- 'lib/**'
workflow_dispatch:
jobs:
build:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: 3.24.2
- name: 📦 Install Dependencies
run: flutter pub get
- name: 🛠️ Build the application
run: flutter build web -t lib/main.dart
- name: ⬇️ Archive Production Artifact
uses: actions/upload-artifact@v4
with:
name: web-build
path: build/web
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/web --project-name=burrito-app