Skip to content

Commit 4a6785c

Browse files
author
Ammara Yasin
committed
homePage2
1 parent 2298c84 commit 4a6785c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"start": "next start",
1818
"export": "next export",
1919
"predeploy": "npm run build && npm run export && touch ./out/.nojekyll",
20-
"deploy": "node scripts/pages.js SafeNetIoT gh-pages",
20+
"deploy": "npm run custom-domain && node scripts/pages.js SafeNetIoT main",
2121
"custom-domain": "node scripts/cname.js safenetiot.com www.SafeNetIoT.github.io",
2222
"lint": "next lint"
2323
},

scripts/pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const build_path = './out';
33

44
const args = process.argv.slice(2);
55
const username = args[0];
6-
const repoURL = `https://github.com/${username}/${username}.github.io.git`;
6+
const repoURL = `https://github.com/SafeNetIoT/SafeNetIoT.github.io.git`;
77
const branch = args[1];
88

99
console.log(`Deploying to ${repoURL} branch ${branch}`);

0 commit comments

Comments
 (0)