Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.3 KB

File metadata and controls

40 lines (29 loc) · 1.3 KB
title Deploy your Astro Site with Buddy
description How to deploy your Astro site to the web using Buddy.
sidebar
label
Buddy
type deploy
logo buddy
supports
static
i18nReady true

import { Steps } from '@astrojs/starlight/components';

You can deploy your Astro project using Buddy, a CI/CD solution that can build your site and push it to many different deploy targets including FTP servers and cloud hosting providers.

:::note Buddy itself will not host your site. Instead, it helps you manage the build process and deliver the result to a deploy platform of your choice. :::

How to deploy

1. [Create a **Buddy** account](https://buddy.works/sign-up).
  1. 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).

  2. Add a new pipeline.

  3. In the newly created pipeline add a Node.js action.

  4. In this action add:

    npm install
    npm run build
  5. Add a deployment action — there are many to choose from, you can browse them in Buddy’s actions catalog. Although their settings can differ, remember to set the Source path to dist.

  6. Press the Run button.