This commit is contained in:
2020-12-20 17:08:53 +01:00
parent 92d3cbd851
commit b520b0bcdd

View File

@@ -53,7 +53,7 @@ export async function UpdateGitHubReadme(): Promise<void> {
let new_content = content.replace(old_stats_table, stats_table + '\n\n');
new_content = new_content.replace(old_infos_table, infos_table + '\n')
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/', {
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
headers: {
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
},