mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
chore(action): fix sponsors action; (#6556)
This commit is contained in:
@@ -58,6 +58,7 @@ const updateReadmeSponsors = async (url, path, marker = '<!--<div>marker</div>--
|
||||
|
||||
await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
|
||||
if (newContent !== false) {
|
||||
await fs.mkdir('./temp').catch(() => {});
|
||||
await fs.writeFile('./temp/sponsors.md', newContent);
|
||||
}
|
||||
})('https://spontaneous-creponne-3ff312.netlify.app/data/sponsors.md');
|
||||
|
||||
Reference in New Issue
Block a user