Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OG images for each post #46

Merged
merged 8 commits into from
Feb 11, 2023
Merged

OG images for each post #46

merged 8 commits into from
Feb 11, 2023

Conversation

otoyo
Copy link
Owner

@otoyo otoyo commented Feb 11, 2023

No need Cloudinary now

How to set up OG images for each post

  1. Sign up Cloudinary and sign in
  1. Select Node.js and note the value of cloud_name, api_key and api_secret
  1. Go to Cloudflare Pages and open "Environment variables" settings of the production
  1. Input the value of cloud_name as CLOUDINARY_CLOUD_NAME, api_key as CLOUDINARY_API_KEY and api_secret as CLOUDINARY_API_SECRET, then save
  1. Set the same environment variables to the preview
  2. Redeploy

@otoyo otoyo self-assigned this Feb 11, 2023
@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a30cab4
Status: ✅  Deploy successful!
Preview URL: https://49041c50.astro-notion-blog.pages.dev
Branch Preview URL: https://ogimage-each-post.astro-notion-blog.pages.dev

View logs

@otoyo otoyo merged commit d12d66d into features-0.3 Feb 11, 2023
@otoyo otoyo deleted the ogimage-each-post branch February 11, 2023 13:32
This was referenced Feb 11, 2023
ytsuda3311 pushed a commit to ytsuda3311/astro-notion-blog that referenced this pull request May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant