Skip to content

Commit 2db8868

Browse files
committed
Add deployment workflow and privacy policy documentation
1 parent 35dc549 commit 2db8868

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Yell Lander Web to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Flutter
16+
uses: subosito/flutter-action@v2
17+
with:
18+
flutter-version: '3.7.2'
19+
20+
- name: Install dependencies
21+
run: flutter pub get
22+
23+
- name: Build web
24+
run: flutter build web
25+
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v3
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: build/web
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)