Skip to content

Commit d4e33ac

Browse files
authored
Merge pull request #1 from LockMan04/gh-pages
deploy web demo
2 parents e23bc5e + f18ffab commit d4e33ac

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy React to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout source
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 18
23+
24+
- name: Install deps & Build
25+
run: |
26+
npm ci
27+
npm run build
28+
29+
- name: Deploy to GitHub Pages
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: ./build
33+
34+
deploy:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
41+
steps:
42+
- name: Deploy to GitHub Pages
43+
uses: actions/deploy-pages@v4

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
> AI-powered cooking assistant that detects ingredients from images and generates personalized recipes
44
5+
> Click here to view [demo](https://lockman04.github.io/SavoryAI/)
56
## Features
67

78
### 🔍 Smart Ingredient Detection

0 commit comments

Comments
 (0)