src/content/docs/en/guides/deploy/deployhq.mdx
import ReadMore from '~/components/ReadMore.astro'; import { Steps } from '@astrojs/starlight/components';
You can deploy your Astro project to your own servers using DeployHQ, a deployment automation platform that builds your code and pushes it to SSH/SFTP servers, FTP servers, cloud storage (e.g. Amazon S3, Cloudflare R2), and modern hosting platforms (e.g. Netlify, Heroku).
:::note DeployHQ does not host your site. It automates building your Astro project and deploying the built files to your chosen hosting provider or server. :::
From the DeployHQ web interface, create a new project and connect the Git repository for your Astro project (GitHub, GitLab, Bitbucket, or any private repository). You will also need to authorize DeployHQ to access your repository.
Add a server and enter your server details:
public_html/).In your project settings, navigate to Build Pipeline and add your build commands:
npm install
npm run build
Click Deploy Project, then select your server and click Deploy to start your first deployment.
</Steps>Your Astro site will be built and deployed to your server. You can enable automatic deployments to deploy on every Git push, or schedule deployments for specific times.
<ReadMore> See [DeployHQ's documentation](https://www.deployhq.com/support) for more info on advanced deployment features. </ReadMore>