mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 03:26:19 +00:00
user config
This commit is contained in:
parent
fa46fc619b
commit
eedd19f894
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ async function saveDatasetInfoIntoRepo(datasetInfo: any) {
|
||||||
JSON.stringify(datasetInfo, null, 2),
|
JSON.stringify(datasetInfo, null, 2),
|
||||||
);
|
);
|
||||||
await $`cd ${dir} && git add dataset-info.json`;
|
await $`cd ${dir} && git add dataset-info.json`;
|
||||||
|
await $`cd ${dir} && git config user.email "git@nulo.in" && git config user.name "github actions"`;
|
||||||
await $`cd ${dir} && git diff --staged --quiet || git commit -m "Update dataset info"`;
|
await $`cd ${dir} && git diff --staged --quiet || git commit -m "Update dataset info"`;
|
||||||
await $`cd ${dir} && git push origin main`;
|
await $`cd ${dir} && git push origin main`;
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in a new issue