Documentation for deploying with buddy.works (#1506)
* Added documentation for deploying to Buddy * Fix to make it more clear
This commit is contained in:
parent
3b54ddabca
commit
0816ac0636
1 changed files with 18 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue