# "Best" way to deploy from GitHub repo to a VPS? (not using S3, GitHub pages, Netlify, etc...)

**URL:** <https://discourse.gohugo.io/t/best-way-to-deploy-from-github-repo-to-a-vps-not-using-s3-github-pages-netlify-etc/31421>\
**Category:** support\
**Created:** [February 24, 2021, 7:05pm UTC](https://discourse.gohugo.io/t/best-way-to-deploy-from-github-repo-to-a-vps-not-using-s3-github-pages-netlify-etc/31421 "2021-02-24T19:05:29Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![martignoni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/martignoni/32/5756_2.png) [@martignoni](https://discourse.gohugo.io/u/martignoni)\
**Post date:** [February 24, 2021, 8:25pm UTC](https://discourse.gohugo.io/t/best-way-to-deploy-from-github-repo-to-a-vps-not-using-s3-github-pages-netlify-etc/31421/5 "2021-02-24T20:25:51Z")

</div>

> [@lmm7425](#):
>
> push from GitHub itself to the VPS

This is exactly what I do, with `rsync` and Github actions . Have a look at my github actions e.g. here:

> <https://github.com/martignoni/moodle-tool-guide/blob/main/.github/workflows/deploy.yml>

---

_[View the full topic](https://discourse.gohugo.io/t/best-way-to-deploy-from-github-repo-to-a-vps-not-using-s3-github-pages-netlify-etc/31421)._
