Skip to content

Commit

Permalink
Attempting to fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
latenitefilms committed Jun 14, 2023
1 parent 94fbeee commit 07523f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/generate-rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const feed = new RSS({
pubDate: oldFeedItems.length > 0 ? oldFeedItems[0].date : new Date(),
});

const newsDir = path.join(__dirname, 'docs/_includes/news');
const newsDir = path.join(process.env.GITHUB_WORKSPACE, 'docs/_includes/news');

// Find all markdown files in newsDir
const files = fs.readdirSync(newsDir).filter(fn => fn.endsWith('.md'));
Expand Down

0 comments on commit 07523f8

Please sign in to comment.