Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Steps component to sst.mdx #8107

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/en/guides/deploy/sst.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading