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 037ef7f commit 859ce95Copy full SHA for 859ce95
.github/workflows/cd.yml
@@ -0,0 +1,36 @@
1
+name: CD
2
+
3
+permissions:
4
+ contents: read
5
+ pages: write
6
+ id-token: write
7
8
+on:
9
+ push:
10
+ branches: ["main"]
11
+ workflow_dispatch:
12
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: subosito/flutter-action@v2
19
+ with:
20
+ channel: stable
21
+ - name: Flutter Build Web
22
+ run: flutter build web --release
23
+ - name: Upload Artifact
24
+ uses: actions/[email protected]
25
26
+ path: build/web
27
28
+ deploy:
29
30
+ needs: build
31
+ environment:
32
+ name: github-pages
33
+ url: ${{ steps.deployment.outputs.page_url }}
34
35
+ - name: Deploy to GitHub Pages
36
+ uses: actions/deploy-pages@v4
0 commit comments