This commit is contained in:
2020-12-20 17:05:05 +01:00
parent b6808e5185
commit 92d3cbd851

View File

@@ -53,11 +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')
console.log(" NEW CONTENT ")
console.log(new_content)
console.log(" ")
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/', {
headers: {
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
},