Skip to content

Commit

Permalink
chore: delete post
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-the-nardo committed Dec 6, 2024
1 parent f3a5d39 commit 6d40e1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 76 deletions.
2 changes: 1 addition & 1 deletion ci-scripts/publish-post-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function publishEvent(slug, frontmatter, eventType) {

for (const file of changedFiles) {
if (!fs.existsSync(file)) {
console.log(`File does not exist: ${file}`);
await publishEvent(slug, frontmatter, "POST_DELETED");
continue;
}
const slug = path.basename(file, '.mdx');
Expand Down
75 changes: 0 additions & 75 deletions content/disappearing-props.mdx

This file was deleted.

0 comments on commit 6d40e1f

Please sign in to comment.