You can use GitHub actions to SSH into your VPS and update the website on each commit to the master branch.
And it's very easy to setup, the steps are basically:
add .github/workflows/master.yaml file and add instruction on how to handle thingies,
add environment variables like the private key to the GitHub repo's secrets
I've recently done something very similar, you can see the workflow file here.
This way, you just have to push the code to GitHub, and your site should update in less than a minute.
I can make a pull request to help you if you're interested
You can use GitHub actions to SSH into your VPS and update the website on each commit to the
master
branch.And it's very easy to setup, the steps are basically:
.github/workflows/master.yaml
file and add instruction on how to handle thingies,I've recently done something very similar, you can see the workflow file here.
This way, you just have to push the code to GitHub, and your site should update in less than a minute.
I can make a pull request to help you if you're interested