Skip to content

Commit

Permalink
fix hashnode inserts
Browse files Browse the repository at this point in the history
  • Loading branch information
codercatdev committed Dec 18, 2023
1 parent 20d7aea commit a7b0947
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/codingcatdev/scripts/podcast-hashnode.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ for await (const file of g) {

const finalContent = `
Original: https://codingcat.dev/${TYPE}/${fm.slug}
${fm?.spotify ? '%[' + fm.spotify + ']' : ''}
${fm?.youtube ? '%[' + fm.youtube + ']' : ''}
${content}`;
const response = await addArticle({
title: fm.title,
Expand Down
3 changes: 3 additions & 0 deletions apps/codingcatdev/scripts/post-hashnode.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ for await (const file of g) {

const finalContent = `
Original: https://codingcat.dev/${TYPE}/${fm.slug}
${fm?.spotify ? '%[' + fm.spotify + ']' : ''}
${fm?.youtube ? '%[' + fm.youtube + ']' : ''}
${content}`;
const response = await addArticle({
title: fm.title,
Expand Down

1 comment on commit a7b0947

@vercel
Copy link

@vercel vercel bot commented on a7b0947 Dec 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

codingcat-dev – ./apps/codingcatdev

codingcat-dev-git-main-coding-cat-dev.vercel.app
codingcat-dev-coding-cat-dev.vercel.app
codingcat.dev

Please sign in to comment.