Documentation for deploying with buddy.works (#1506)

* Added documentation for deploying to Buddy

* Fix to make it more clear
This commit is contained in:
Maciej Palmowski 2021-10-12 17:56:58 +02:00 committed by GitHub
parent 3b54ddabca
commit 0816ac0636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -347,6 +347,24 @@ You can deploy your Astro project on [Render](https://render.com/) following the
- **publish directory:** `dist`
5. Click the **Create Static Site** button
## Buddy
You can deploy your Astro project using [Buddy](https://buddy.works). To do so you'll need to:
1. Create a **Buddy** account [here](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:
```node
npm install
npm run build
```
6. Add a deployment action - there are many to choose from, you can browse them [here](https://buddy.works/actions). Although their can settings differ, remember to set the **Source path** to `dist`.
7. Press the **Run** button.
## Credits
This guide was originally based off [Vite](https://vitejs.dev/)s well-documented static deploy guide.