Skip to content

gentksb/blog

Repository files navigation

README

This is gensobunya's bike blog repository.

Go to website

Build & Deploy Pipeline

Build for

Cloudflare Pages(w/ KV) and Functions

local development

At first, run npx wrangler login before start local environment.

environment variables

# dev.vars
  PAAPI_ACCESSKEY
  PAAPI_SECRETKEY
  PARTNER_TAG
  SLACK_WEBHOOK_URL
  • PAAPI_ACCESSKEY: PA-API v5 Access key ID
  • PAAPI_SECRETKEY: PA-API v5 Secret key
  • PARTNER_TAG: Amazon Associate Partner Tag
  • SLACK_WEBHOOK_URL: your slack webhook url for logger

Operation

Delete OGP caches: https://developers.cloudflare.com/kv/platform/kv-commands/#delete-2