astro-decap-template Tailwind Templates

Astro Decap Template

Astro + Tailwind + Decap CMS + Preact + Storybook Template

Astro + Tailwind + Decap CMS + Preact + Storybook Template

Deployment

  • Setup a Github token with pull access for automatically pulling changes on the preview server
  • Get Cloudinary cloud and public api key from Cloudinary Settings
  • Setup Cloudflare deploy webhook under Page/Settings/Build/Deploy Hook and add it to Github secrets

    Cloudflare OAuth App

    Create a new Github OAuth App, set the homepage url and callback url to PUBLIC_SITE_DOMAIN

Staging Setup

  • Update etc/cloudflared.config.yml with the astro and webhook ports
  • Update DNS to add astro and webhook services
  • Add github webhook to the project pointing to https://URL/hooks/pull-changes

Settings to update

  • .env file
  • astro.config.mjs file for locales, sitename

SEO

Documentation

Tools

Official Social Image Inspectors

Top categories

Loading Svelte Themes