Skip to content

Commit 99cacdd

Browse files
committed
Fix JSON syntax in package.json
1 parent 6751a46 commit 99cacdd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches:
6-
- master # Changed from main to master
6+
- master
77

88
jobs:
99
build-and-deploy:
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install and Build
2020
run: |
2121
npm install
22-
npm run build:github # Changed from build to build:github
22+
npm run build:github
2323
2424
- name: Deploy
2525
uses: JamesIves/github-pages-deploy-action@v4

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"version": "0.0.0",
55
"type": "module",
66
"homepage": "https://bungeetaco.github.io/reconciliation/",
7-
"scripts": {
8-
"dev": "vite",
9-
"build": "tsc -b && vite build", // Regular build for self-hosting
10-
"build:github": "cross-env GITHUB_PAGES=true vite build", // GitHub Pages build
11-
"lint": "eslint .",
12-
"preview": "vite preview",
13-
"deploy": "npm run build:github && gh-pages -d dist"
14-
}
7+
"scripts": {
8+
"dev": "vite",
9+
"build": "tsc -b && vite build",
10+
"build:github": "cross-env GITHUB_PAGES=true vite build",
11+
"lint": "eslint .",
12+
"preview": "vite preview",
13+
"deploy": "npm run build:github && gh-pages -d dist"
14+
},
1515
"dependencies": {
1616
"@radix-ui/react-slot": "^1.1.1",
1717
"class-variance-authority": "^0.7.1",

0 commit comments

Comments
 (0)