{"id":20405875,"url":"https://github.com/buggyzap/autodeploy","last_synced_at":"2025-03-05T02:18:42.244Z","repository":{"id":134208647,"uuid":"569678420","full_name":"buggyzap/autodeploy","owner":"buggyzap","description":"Automate Modules development and deploy testing process to N instances with an extremely fast and easy configuration.","archived":false,"fork":false,"pushed_at":"2022-11-27T14:05:59.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T12:14:22.999Z","etag":null,"topics":["prestashop","prestashop-deployment","prestashop-module","wordpress","wordpress-deployment","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/buggyzap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-23T11:23:54.000Z","updated_at":"2023-01-21T19:30:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"0dd2f6bd-8f2b-4e91-a07d-f76aa9929e5f","html_url":"https://github.com/buggyzap/autodeploy","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/buggyzap%2Fautodeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggyzap%2Fautodeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggyzap%2Fautodeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggyzap%2Fautodeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buggyzap","download_url":"https://codeload.github.com/buggyzap/autodeploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241950269,"owners_count":20047610,"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":["prestashop","prestashop-deployment","prestashop-module","wordpress","wordpress-deployment","wordpress-development","wordpress-plugin"],"created_at":"2024-11-15T05:13:42.660Z","updated_at":"2025-03-05T02:18:42.237Z","avatar_url":"https://github.com/buggyzap.png","language":"PHP","readme":"# Autodeploy\n\n![Autodeploy cover](autodeploy.jpg)\n\nAutomate Modules development and deploy testing process to N instances with an extremely fast and easy configuration.\n\n## Supported CMS environment\n\nCurrently **autodeploy** supports Wordpress and Prestashop environments.\n\n## Installation\n\nGo on your server's CMS root folder and type\n\n```\nnpx degit buggyzap/autodeploy autodeploy\ncd autodeploy\ncomposer install\n```\n\n## Configuration\n\nRename **autodeploy.config.sample.json** to **autodeploy.config.json** and add your\n\n- token: Github Token to authorize git clone/pull operations\n- username: Your Github username\n- repo: Your Module Github repository name\n- filename: Your module .zip filename, eg: mymodule.zip\n- module: Your module name, like: mymodule\n- security_token: A security token you can create to add an extra layer security between Github and your server instance\n\n## How it works\n\nAssuming that you are using **wp-plugin-helper** or you just have a repository where your module code lives, you need to create a Github release everytime you want to deploy and push changes dynamically to every instances configured.\n\n## Local development side\n\nYou need to setup your module to create a .zip file and add it to your Github release.\n\nYou can have this flow with using my [NPM TOOL](https://www.npmjs.com/package/wp-plugin-helper) that let you automate Wordpress plugin development, releasing, testing and deploy.\n\nAfter that you have configured your Github repo with a .zip release and tag you are ready to configure server side.\n\n## Server development side\n\nAfter installed it on server side ( Installation section ) go to Github and create a new webhook for each instance you want to configure with the autodeploy.\n\nEg. you have a mywebsite.com and want to use it with autodeploy.\n\nCreate a new Github Webhook event that call the url:\n\nhttps://mywebsite.com/git_hook_update_module.php?security_token=123\n\nfor each release event.\n\nLeave other configurations as default and save.\n\nTry to create a new Github release and you got an automatically updated instance (mywebsite.com) module production folder.\n\n## Why you may need it\n\nImagine the scenario you want to test your module in 20 different instances like\n\n- Multi shop version\n- Multi language version\n- Multi currency\n- Thousands of different product types\n- Multiple CMS version and setup\n\nWith a single local development environment you will create a new release and test you module on every instance you want.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuggyzap%2Fautodeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuggyzap%2Fautodeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuggyzap%2Fautodeploy/lists"}