From a46c79e3a1ef06d78fb243210de6097c3f913946 Mon Sep 17 00:00:00 2001 From: Eduardo Pereira Date: Thu, 2 May 2024 13:32:47 -0300 Subject: [PATCH] Add Steps component to `sst.mdx` (#8107) Co-authored-by: Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> Co-authored-by: Sergio A. Arevalo Soria Co-authored-by: Sarah Rainsberger --- src/content/docs/en/guides/deploy/sst.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/content/docs/en/guides/deploy/sst.mdx b/src/content/docs/en/guides/deploy/sst.mdx index 38cdd59d9185b..f9e900866952b 100644 --- a/src/content/docs/en/guides/deploy/sst.mdx +++ b/src/content/docs/en/guides/deploy/sst.mdx @@ -4,6 +4,7 @@ description: How to deploy your Astro site to AWS with SST type: deploy i18nReady: true --- +import { Steps } from '@astrojs/starlight/components'; You can deploy an Astro site using [SST](https://sst.dev), an open-source framework for deploying fully serverless applications to AWS with SSG and SSR support. @@ -11,6 +12,7 @@ You can also use any additional SST constructs like Cron Jobs, Buckets, Queues, ## Quickstart + 1. Create an astro project. 2. Run `npx create-sst`. @@ -18,10 +20,12 @@ You can also use any additional SST constructs like Cron Jobs, Buckets, Queues, 3. It should detect that you are using Astro and ask you to confirm. 4. Once you're ready for deployment you can run `npx sst deploy --stage=production`. + You can also watch [a video walkthrough of this process](https://www.youtube.com/watch?v=AFP3ZHxO7Gg) that will guide you through the steps. ### SST constructs + To use any [additional SST constructs](https://docs.sst.dev/), add them to `sst.config.ts`. ```ts {2} {4} title="sst.config.ts"