diff options
author | Minteck <contact@minteck.org> | 2022-04-22 12:30:47 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-22 12:30:47 +0200 |
commit | 2b4e859c6d9312edc07643ecba5d99b40ffdc7d4 (patch) | |
tree | 7bedfe38cce07569565f9e4f95e0ea76750c5992 /includes/fetcher/index.js | |
parent | 42d9e605fc3f7e0e139a68e9916b3ccdaa721322 (diff) | |
download | ember-2b4e859c6d9312edc07643ecba5d99b40ffdc7d4.tar.gz ember-2b4e859c6d9312edc07643ecba5d99b40ffdc7d4.tar.bz2 ember-2b4e859c6d9312edc07643ecba5d99b40ffdc7d4.zip |
Add proprietary assets
Diffstat (limited to 'includes/fetcher/index.js')
-rw-r--r-- | includes/fetcher/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
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", "<!-- WARNING: Do not modify this file, modify README.mdt instead. This file will get overwritten whenever the project fetcher runs. -->\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 |