Skip to content

Dialog を抽出

Dialog を抽出 #55

name: Deploy to Cloudflare Pages
on:
push:
jobs:
build-and-deploy:
name: build and deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
cache: true
- run: flutter build web --dart-define=ORIGIN=https://definy.deno.dev
- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: definy
directory: ./build/web/
gitHubToken: ${{ secrets.GITHUB_TOKEN }}