From be26083e116eb5333e5846e513f2daa61441b850 Mon Sep 17 00:00:00 2001 From: yu6hooke <17083696+yu6hooke@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:08:42 +0900 Subject: [PATCH] Add workflow for Github Pages --- .github/workflows/deploy_web.yaml | 22 ++++++++++++++++++++++ README.md | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy_web.yaml diff --git a/.github/workflows/deploy_web.yaml b/.github/workflows/deploy_web.yaml new file mode 100644 index 0000000..082ca7e --- /dev/null +++ b/.github/workflows/deploy_web.yaml @@ -0,0 +1,22 @@ +name: CD web + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: wasabeef/import-asdf-tool-versions-action@v1.0.1 + id: asdf + - uses: subosito/flutter-action@v2 + with: + channel: stable + flutter-version: ${{ steps.asdf.outputs.flutter }} + - uses: erickzanardo/flutter-gh-pages@v7 + with: + basehref: /flutter_architecture_blueprint/ + customArgs: -t lib/main_device_preview.dart \ No newline at end of file diff --git a/README.md b/README.md index c68e88a..84da022 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Detailed explanations and background information are provided in the related art ## Demo -<< Sample Web App URL >> +https://upsidr.github.io/flutter_architecture_blueprint/ ## Overview