Skip to content

Commit

Permalink
Add workflow for Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
yu6hooke committed Mar 21, 2024
1 parent 228af2a commit be26083
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/deploy_web.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CD web

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: wasabeef/[email protected]
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit be26083

Please sign in to comment.