Skip to content

Commit

Permalink
Add Steps component to sst.mdx (#8107)
Browse files Browse the repository at this point in the history
Co-authored-by: Houston (Bot) <[email protected]>
Co-authored-by: Sergio A. Arevalo Soria <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
4 people authored May 2, 2024
1 parent 285035e commit a46c79e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/content/docs/en/guides/deploy/sst.mdx
Original file line number Diff line number Diff line change
@@ -4,24 +4,28 @@ 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.

You can also use any additional SST constructs like Cron Jobs, Buckets, Queues, etc while maintaining type-safety.

## Quickstart

<Steps>
1. Create an astro project.

2. Run `npx create-sst`.

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`.
</Steps>

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"

0 comments on commit a46c79e

Please sign in to comment.