diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/fetcher/index.js | 6 | ||||
m--------- | includes/fetcher/personal | 0 | ||||
-rw-r--r-- | includes/fetcher/projects.json | 12 |
3 files changed, 9 insertions, 9 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 diff --git a/includes/fetcher/personal b/includes/fetcher/personal -Subproject 3818786c248790618dd15acd81500a6ac117a87 +Subproject c7d59842a484e07be900e755eab739607409e63 diff --git a/includes/fetcher/projects.json b/includes/fetcher/projects.json index 0387641..7683a6b 100644 --- a/includes/fetcher/projects.json +++ b/includes/fetcher/projects.json @@ -12,9 +12,9 @@ "web": "http://gitlab.minteck.org/minteck/ember", "icon": "http://gitlab.minteck.org/uploads/-/system/project/avatar/73/Ember__22we_could_keep_working_together_22_S6E5_copy_2.png", "showcase": false, - "date": "2022-04-21T12:37:55.961Z", + "date": "2022-04-22T09:48:55.629Z", "event": { - "id": 611, + "id": 612, "project_id": 73, "action_name": "pushed to", "target_id": null, @@ -22,7 +22,7 @@ "target_type": null, "author_id": 1, "target_title": null, - "created_at": "2022-04-21T12:37:55.961Z", + "created_at": "2022-04-22T09:48:55.629Z", "author": { "id": 1, "username": "minteck", @@ -35,10 +35,10 @@ "commit_count": 1, "action": "pushed", "ref_type": "branch", - "commit_from": "7a7e357dcdd34e4a33a81eadc55548d579938f49", - "commit_to": "958a68292191d8a4c9024ca2f1f658135ab6f704", + "commit_from": "958a68292191d8a4c9024ca2f1f658135ab6f704", + "commit_to": "42d9e605fc3f7e0e139a68e9916b3ccdaa721322", "ref": "trunk", - "commit_title": "WIP projects page", + "commit_title": "Update", "ref_count": null }, "author_username": "minteck" |