vitodeploy / vito

The Ultimate Server Management Tool
https://vitodeploy.com
GNU Affero General Public License v3.0
1.06k stars 166 forks source link

git auto deployment #196

Closed spartyboy closed 4 months ago

spartyboy commented 5 months ago

git auto deployment failing even after i used keys to pull successfully from github, all permissions are enabled as well [2024-05-08 19:06:57] production.ERROR: Validation Failed {"userId":1,"exception":"[object] (App\Exceptions\FailedToDeployGitHook(code: 0): Validation Failed at /home/vito/vito/app/SourceControlProviders/Github.php:69)

saeedvaziry commented 5 months ago

@spartyboy does it have the hooks permissions?

spartyboy commented 5 months ago

@spartyboy does it have the hooks permissions?

yes also is there a way i manually pull update from git, and any sample of a deployment script?

saeedvaziry commented 5 months ago

Are you using Vito on a server or local? if it is local it might not work because Github requires an internet URL so it can send webhooks in case of any pushes.

saeedvaziry commented 5 months ago

and any sample of a deployment script?

we don't have a sample deployment script. you can write your own and save it into the deployment script and run the deployment.

spartyboy commented 5 months ago

its on a server but running local as the ip is tunneled via cloudflare and i don't know how to point vito or create a domain for vito as that option is no longer available

saeedvaziry commented 5 months ago

Check this

https://vitodeploy.com/introduction/securing.html

spartyboy commented 4 months ago

can vito make use of a .yml file just like in cpanel an a button to pull repository

saeedvaziry commented 4 months ago

You can just put a command into the deployment script like git pull and then click the Deploy button. it will do it :)

saeedvaziry commented 4 months ago

https://vitodeploy.com/sites/application.html