Skip to content

Commit

Permalink
Feat: update path in js
Browse files Browse the repository at this point in the history
  • Loading branch information
currenjin committed Jan 25, 2024
1 parent 096e632 commit 212eaa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/convert-yml-to-md.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function generateMarkdown(categories, sites) {
return markdown;
}

const categories = require('/categories.yml');
const sites = require('/sites.yml');
const categories = require('../../categories.yml');
const sites = require('../../sites.yml');

const readmeContent = generateMarkdown(categories, sites);
fs.writeFileSync('/README.md', readmeContent);
fs.writeFileSync('../../README.md', readmeContent);

0 comments on commit 212eaa9

Please sign in to comment.