Skip to content

Commit

Permalink
Add Steps component to buddy.mdx (#8094)
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: HiDeoo <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
5 people authored May 2, 2024
1 parent ca12bb0 commit afd05ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/content/docs/en/guides/deploy/buddy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: How to deploy your Astro site to the web using Buddy.
type: deploy
i18nReady: true
---
import { Steps } from '@astrojs/starlight/components';

You can deploy your Astro project using [Buddy](https://buddy.works/), a CI/CD solution that can build your site and push it to many different deploy targets including FTP servers and cloud hosting providers.

Expand All @@ -13,10 +14,15 @@ Buddy itself will not host your site. Instead, it helps you manage the build pro

## How to deploy

<Steps>
1. [Create a **Buddy** account](https://buddy.works/sign-up).

2. Create a new project and connect it with a git repository (GitHub, GitLab, BitBucket, any private Git Repository or you can use Buddy Git Hosting).

3. Add a new pipeline.

4. In the newly created pipeline add a **[Node.js](https://buddy.works/actions/node-js)** action.

5. In this action add:

```bash
Expand All @@ -25,4 +31,6 @@ Buddy itself will not host your site. Instead, it helps you manage the build pro
```

6. Add a deployment action — there are many to choose from, you can browse them in [Buddy’s actions catalog](https://buddy.works/actions). Although their settings can differ, remember to set the **Source path** to `dist`.

7. Press the **Run** button.
</Steps>

0 comments on commit afd05ac

Please sign in to comment.