We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2baed commit 0492e9eCopy full SHA for 0492e9e
.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
1
+name: deploy
2
+
3
+# Run this workflow when a new release is published
4
+on:
5
+ release:
6
+ types: [published]
7
+jobs:
8
+ build_and_deploy:
9
+ runs-on: ubuntu-latest # Use the latest version of Ubuntu
10
11
+ steps:
12
+ # 1. Checkout the repository code
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
16
+ # 2. Setup Flutter SDK
17
+ - name: Setup Flutter
18
+ uses: subosito/flutter-action@v2
19
+ with:
20
+ channel: 'stable' # Use the stable channel of Flutter
21
22
+ # 3. Get Flutter dependencies
23
+ - name: Get dependencies
24
+ run: flutter pub get
25
26
+ # 4. Build the Flutter web app
27
+ - name: Build Web App
28
+ run: flutter build web --release --base-href /ht-main/
29
30
+ # 5. Deploy the built app to GitHub Pages
31
+ - name: Deploy
32
+ uses: peaceiris/actions-gh-pages@v3
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: ./build/web
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments