Skip to content

Instantly share code, notes, and snippets.

@pataquets
Last active March 13, 2023 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pataquets/bb70356acad5a3ef1b5d6ebac77b1cca to your computer and use it in GitHub Desktop.
Save pataquets/bb70356acad5a3ef1b5d6ebac77b1cca to your computer and use it in GitHub Desktop.
How to deploy Marp presentations to Cloudflare Pages

Deploy to Cloudflare Pages

  • Go to "Pages" in the main left-hand menu.
  • Click "Create a project" button.
  • Select "Connect to Git" from the dropdown.
  • Select your Github or Gitlab repository and click "Begin setup" button.
  • On the build and deployment settings page, set the following values:
    • Framework preset: None
    • Build command: npm run deck
    • Build output directory: /public
  • Click the "Begin deploy" button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment