{"id":22739963,"url":"https://github.com/inacho/git-deploy-php","last_synced_at":"2025-04-14T05:52:06.245Z","repository":{"id":10662963,"uuid":"12896114","full_name":"inacho/git-deploy-php","owner":"inacho","description":"Sync the files of a Git repository with the Web server","archived":false,"fork":false,"pushed_at":"2013-10-26T16:43:20.000Z","size":320,"stargazers_count":20,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T19:49:43.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inacho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-17T13:35:33.000Z","updated_at":"2021-08-29T11:41:42.000Z","dependencies_parsed_at":"2022-09-25T08:11:50.736Z","dependency_job_id":null,"html_url":"https://github.com/inacho/git-deploy-php","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/inacho%2Fgit-deploy-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inacho%2Fgit-deploy-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inacho%2Fgit-deploy-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inacho%2Fgit-deploy-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inacho","download_url":"https://codeload.github.com/inacho/git-deploy-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830389,"owners_count":21168272,"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-12-10T23:06:56.790Z","updated_at":"2025-04-14T05:52:06.213Z","avatar_url":"https://github.com/inacho.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Deploy PHP\n\nSync the files of a Git repository with the Web server according to the following rules:\n\n* All files in the branch being deployed will be copied to the deployment directory\n* Files that were deleted in the Git repo since the last deployment will be deleted from the deployment directory\n* Untracked files in the deploy directory will be left alone\n\n## Installation\n\n1. Configure and copy **deploy.php** and **scripts** to the Git repository of your web application\n2. Clone the Git repository in the web server\n3. Deploy when you need\n\n## How to deploy\n\n### Web page\n\nOpen **deploy.php** in the web server, login and execute the deploy\n\n### SSH\n\nLogin to the web server with SSH and execute **scripts/git-local-deploy.sh**  \nAlternatively, you can configure and execute **scripts/git-remote-deploy.sh** in your local machine. This is a shortcut to execute **scripts/git-local-deploy.sh** in the web server\n\n## Screenshots\n\n![Deploy](screenshots/deploy.png)  \n![Login](screenshots/login.png)\n\n## License\n\nReleased under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finacho%2Fgit-deploy-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finacho%2Fgit-deploy-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finacho%2Fgit-deploy-php/lists"}