From 2b4e859c6d9312edc07643ecba5d99b40ffdc7d4 Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 22 Apr 2022 12:30:47 +0200 Subject: Add proprietary assets --- includes/fetcher/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/fetcher/index.js') diff --git a/includes/fetcher/index.js b/includes/fetcher/index.js index edcbcf3..4d1dbbf 100644 --- a/includes/fetcher/index.js +++ b/includes/fetcher/index.js @@ -230,7 +230,7 @@ console.log("Saving..."); fs.writeFileSync("./personal/README.md", "\n" + fs.readFileSync("./personal/README.mdt").toString().replace("%GITLABFILLHERE%", list.join("\n"))); console.log("Publishing changes to GitHub..."); - cp.execSync("git add -A"); - cp.execSync("git commit -m \"Update: " + new Date().toISOString() + "\""); - cp.execSync("git push origin main"); + cp.execSync("git add -A", { cwd: "personal" }); + cp.execSync("git commit -m \"Update: " + new Date().toISOString() + "\"", { cwd: "personal" }); + cp.execSync("git push origin main", { cwd: "personal" }); })() \ No newline at end of file -- cgit