Closed spartyboy closed 4 months ago
@spartyboy does it have the hooks permissions?
@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?
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.
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.
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
can vito make use of a .yml file just like in cpanel an a button to pull repository
You can just put a command into the deployment script like git pull
and then click the Deploy button. it will do it :)
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)