Skip to content

Commit 10163d2

Browse files
authored
Merge pull request #1008 from SonicJs-Org/lane711/branch-continued-context
feat: neon pink favicon, production env fix, CORS deploy
2 parents 45fec2d + e3bc442 commit 10163d2

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
VITE_CMS_URL: ${{ secrets.DEMO_CMS_URL }}
4141

4242
- name: Deploy to Cloudflare Pages
43-
run: npx wrangler pages deploy demos/employee-directory/dist --project-name sonicjs-sdk-demo
43+
run: npx wrangler pages deploy demos/employee-directory/dist --project-name sonicjs-sdk-demo --branch main
4444
env:
4545
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4646
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_CMS_URL=https://demo.sonicjs.com

demos/employee-directory/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
67
<title>SonicJS SDK Demo — Employee Directory</title>
78
<script src="https://cdn.tailwindcss.com"></script>
89
<script>
Lines changed: 8 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)