Skip to content

Commit

Permalink
Add Steps component to surge.mdx (#8109)
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: Reuben Tier <[email protected]>
  • Loading branch information
4 people authored May 2, 2024
1 parent d12edce commit 7aab10d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/docs/en/guides/deploy/surge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ description: How to deploy your Astro site to the web using surge.sh
type: deploy
i18nReady: true
---
import { Steps } from '@astrojs/starlight/components';

You can deploy your Astro project to [Surge](https://surge.sh/), a single-command web publishing platform designed for front-end developers.

## How to deploy

<Steps>
1. Install [the Surge CLI](https://www.npmjs.com/package/surge) globally from the Terminal, if you haven't already.

```shell
Expand All @@ -28,3 +30,4 @@ You can deploy your Astro project to [Surge](https://surge.sh/), a single-comman
```

You can use a [custom domain](http://surge.sh/help/adding-a-custom-domain) when deploying by running `surge dist yourdomain.com`.
</Steps>

0 comments on commit 7aab10d

Please sign in to comment.