From 4a0f540ec567a09c689f320dfd2bc163b8daa6b9 Mon Sep 17 00:00:00 2001 From: Jason Farber Date: Tue, 19 Nov 2024 17:06:29 +0000 Subject: [PATCH 1/2] Adding video tutorial to Astro page --- .../docs/pages/framework-guides/deploy-an-astro-site.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx b/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx index 16c15ec9b6fec55..7cf3f113c1b777e 100644 --- a/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx +++ b/src/content/docs/pages/framework-guides/deploy-an-astro-site.mdx @@ -3,7 +3,7 @@ pcx_content_type: how-to title: Astro --- -import { PagesBuildPreset, Render, PackageManagers } from "~/components"; +import { PagesBuildPreset, Render, PackageManagers, Stream } from "~/components"; [Astro](https://astro.build) is an all-in-one web framework for building fast, content-focused websites. By default, Astro builds websites that have zero JavaScript runtime code. @@ -11,6 +11,10 @@ Refer to the [Astro Docs](https://docs.astro.build/) to learn more about Astro o In this guide, you will create a new Astro application and deploy it using Cloudflare Pages. +### Video Tutorial + + + ## Set up a new project To use `create-cloudflare` to create a new Astro project, run the following command: From 0c4c47ef7a12b5e1069e0e49464ed5141a32f5a6 Mon Sep 17 00:00:00 2001 From: Jason Farber Date: Tue, 19 Nov 2024 17:10:24 +0000 Subject: [PATCH 2/2] adding to the tutorials list --- src/content/videos/index.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/content/videos/index.yaml b/src/content/videos/index.yaml index e393efa95454457..903a5ae0a2c60ba 100644 --- a/src/content/videos/index.yaml +++ b/src/content/videos/index.yaml @@ -359,6 +359,18 @@ entries: difficulty: Intermediate content_type: 🎥 Video pcx_content_type: tutorial + - link: https://developers.cloudflare.com/pages/framework-guides/deploy-an-astro-site/#video-tutorial + title: Build a Full-Stack Application using Astro and Cloudflare Workers + description: Learn how to deploy an Astro application to Cloudflare Workers. + tags: [Workers, Pages, Astro] + languages: [TypeScript] + products: [Workers, Pages] + cloudflare: true + author: kristian + updated: 2024-11-19 + difficulty: Beginner + content_type: 🎥 Video + pcx_content_type: tutorial # - link: # title: # description: @@ -371,3 +383,4 @@ entries: # difficulty: Intermediate # content_type: 🎥 Video # pcx_content_type: tutorial +