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 flyio.mdx #8088

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
5 changes: 5 additions & 0 deletions src/content/docs/en/guides/deploy/flyio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ type: deploy
i18nReady: true
stub: true
---
import { Steps } from '@astrojs/starlight/components';

You can deploy your Astro project to [Fly.io](https://fly.io/), a platform for running full stack apps and databases close to your users.

Expand All @@ -22,15 +23,19 @@ To enable on-demand rendering in your Astro project and deploy on Fly.io, add [t

## How to deploy

<Steps>
1. [Sign up for Fly.io](https://fly.io/docs/getting-started/log-in-to-fly/#first-time-or-no-fly-account-sign-up-for-fly) if you haven't already.

2. [Install `flyctl`](https://fly.io/docs/hands-on/install-flyctl/), your Fly.io app command center.

3. Run the following command in your terminal.

```bash
fly launch
```

`flyctl` will automatically detect Astro, configure the correct settings, build your image, and deploy it to the Fly.io platform.
</Steps>

## Generating your Astro Dockerfile

Expand Down
Loading