You've already forked wakapi-readme-stats
push done with git instead of github
This commit is contained in:
@@ -163,7 +163,7 @@ async def get_stats() -> str:
|
||||
|
||||
if EM.SHOW_LOC_CHART:
|
||||
await create_loc_graph(yearly_data, GRAPH_PATH)
|
||||
stats += GHM.update_chart(GRAPH_PATH)
|
||||
stats += f"**{FM.t('Timeline')}**\n\n{GHM.update_chart('Lines of Code', GRAPH_PATH)}"
|
||||
|
||||
if EM.SHOW_UPDATED_DATE:
|
||||
DBM.i("Adding last updated time...")
|
||||
@@ -185,11 +185,10 @@ async def main():
|
||||
|
||||
stats = await get_stats()
|
||||
if not EM.DEBUG_RUN:
|
||||
if GHM.update_readme(stats):
|
||||
DBM.g("Readme updated!")
|
||||
GHM.update_readme(stats)
|
||||
GHM.commit_update()
|
||||
else:
|
||||
if GHM.set_github_output(stats):
|
||||
DBM.g("Debug run, readme not updated. Check the latest comment for the generated stats.")
|
||||
GHM.set_github_output(stats)
|
||||
await DM.close_remote_resources()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user