{"id":17091379,"url":"https://github.com/jhurliman/node-gitdeploy","last_synced_at":"2025-04-12T22:35:30.034Z","repository":{"id":9317052,"uuid":"11159390","full_name":"jhurliman/node-gitdeploy","owner":"jhurliman","description":"Listen for git web hooks and automatically update and deploy code","archived":false,"fork":false,"pushed_at":"2013-11-08T20:19:24.000Z","size":156,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T03:15:42.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhurliman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-03T19:26:31.000Z","updated_at":"2015-12-23T01:26:00.000Z","dependencies_parsed_at":"2022-07-31T15:49:04.993Z","dependency_job_id":null,"html_url":"https://github.com/jhurliman/node-gitdeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fnode-gitdeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fnode-gitdeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fnode-gitdeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhurliman%2Fnode-gitdeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhurliman","download_url":"https://codeload.github.com/jhurliman/node-gitdeploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642311,"owners_count":21138350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T13:58:25.742Z","updated_at":"2025-04-12T22:35:30.005Z","avatar_url":"https://github.com/jhurliman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitdeploy\n\nListen for git web hooks and automatically update and deploy code.\n\n## Install\n\nThe source is available for download from\n[GitHub](http://github.com/jhurliman/node-gitdeploy). Clone the repository,\ncopy `config.local.js.orig` to `config.local.js` and edit it to suit your needs\n(see below). Run `npm install` to install dependencies, then run\n`node index.js` and confirm the service successfully starts. Although the\nservice should be stable, you will probably want to run it via a process\nsupervisor such as [pm2](https://github.com/Unitech/pm2), [monit](http://mmonit.com/monit/), [forever](https://github.com/nodejitsu/forever), [supervisord](http://supervisord.org/), etc.\n\n## Configuration\n\n  * **web_port** - The HTTP port to listen to. Default is 23200.\n  * **run_as_user** - Switch the process to another user after it has started.\n    This is useful for running as root and logging to ie\n    /var/log/gitdeploy.log, then dropping root privileges. Defaults to empty.\n  * **log_path** - Relative or absolute path for the log file. Defaults to\n    gitdeploy.log.\n  * **log_level** - Logging verbosity. Valid values are debug, info, warn, and\n  error. Defaults to debug.\n  * **forward_to** - An optional array of URLs to forward incoming pings to.\n    Useful for pinging servers that are not publicly accessible.\n  * **repositories** - An array of repository objects describing local\n    git clones. Each repository object consists of the following fields:\n    * **url** - Public web URL of the repository. This must match what\n    GitHub/Bitbucket/etc send exactly. An example is\n    \u003chttps://github.com/jhurliman/Test-Repo\u003e.\n    * **path** - Local path to the cloned repository. This must be an absolute\n    path.\n    * **deploy** - (Optional) A script or shell command to run after git pull\n    has finished. This is usually a deployment or notification script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhurliman%2Fnode-gitdeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhurliman%2Fnode-gitdeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhurliman%2Fnode-gitdeploy/lists"}