mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-25 09:10:25 +01:00
working
This commit is contained in:
@@ -53,7 +53,7 @@ export async function UpdateGitHubReadme(): Promise<void> {
|
|||||||
let new_content = content.replace(old_stats_table, stats_table + '\n\n');
|
let new_content = content.replace(old_stats_table, stats_table + '\n\n');
|
||||||
new_content = new_content.replace(old_infos_table, infos_table + '\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: {
|
headers: {
|
||||||
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
|
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user