🐛 fixes git option under the Gitea Action
This commit is contained in:
parent
9f2f60fa01
commit
8bc74fc29c
@ -28,6 +28,7 @@ $.api("", true)
|
||||
instances_cz: stats.sort((a, b)=> b.registrations-a.registrations),
|
||||
sum: stats.reduce((acc, stats) => sumStats([acc, stats]), { statuses: 0, logins: 0, registrations: 0, mau: 0, user_count: 0 })
|
||||
};
|
||||
if(is_git) s.run`git pull --rebase`;
|
||||
echo(JSON.stringify(out, null, " ")).to(store);
|
||||
if(is_git) gitCommit([ store ], "cron");
|
||||
$.exit(0);
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mastodon-cz-stats",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mastodon-cz-stats",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"mastodon-cz-stats": "mastodonCzStats.js"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mastodon-cz-stats",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Experimentální skript k získání českých Mastodon instancí a dodatečných informací.",
|
||||
"bin": "mastodonCzStats.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user