{"id":41799523,"url":"https://github.com/augustash/deployer-magento2-recipe","last_synced_at":"2026-01-25T05:35:30.657Z","repository":{"id":124914167,"uuid":"237527904","full_name":"augustash/deployer-magento2-recipe","owner":"augustash","description":"Magento 2 Recipe for Deployer","archived":false,"fork":false,"pushed_at":"2024-05-21T19:54:02.000Z","size":109,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2026-01-15T20:29:49.082Z","etag":null,"topics":["deploy-tool","deployer","magento2"],"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/augustash.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-31T22:35:48.000Z","updated_at":"2025-11-11T20:14:34.000Z","dependencies_parsed_at":"2024-05-21T20:52:19.830Z","dependency_job_id":"6d45a42b-7712-4090-8a0d-7312e17bb101","html_url":"https://github.com/augustash/deployer-magento2-recipe","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/augustash/deployer-magento2-recipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustash%2Fdeployer-magento2-recipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustash%2Fdeployer-magento2-recipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustash%2Fdeployer-magento2-recipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustash%2Fdeployer-magento2-recipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augustash","download_url":"https://codeload.github.com/augustash/deployer-magento2-recipe/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustash%2Fdeployer-magento2-recipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28744429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["deploy-tool","deployer","magento2"],"created_at":"2026-01-25T05:35:30.583Z","updated_at":"2026-01-25T05:35:30.652Z","avatar_url":"https://github.com/augustash.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2.4.x Deployer Recipe\n\n![https://www.augustash.com](http://augustash.s3.amazonaws.com/logos/ash-inline-color-500.png)\n\n**This recipe is not currently aimed at public consumption. It exists primarily for internal August Ash use.**\n\nPiggy-backing on the excellent Deployer PHP tool, this recipe makes it easy to deploy Magento 2.4.x+ to your servers. This assumes a release/symlink strategy.\n\n## Installation\n\nWell, first you need to have [Deployer installed](https://deployer.org/docs/installation.html). After that's done, install the Magento recipe:\n\n```bash\ncomposer require augustash/deployer-magento2-recipe\n```\n\n## Usage\n\nAt this point you've got all the dependencies, now you need to create a project specific deployment file. The deployment will require a main instructions file and then host definitions. Generally I would suggest keeping your host info in a separate file. Create a `deploy.php` file your project's root directory. Here is a sample:\n\n```php\n\u003c?php\n\n/**\n * Deployer Recipe for Magento 2.4 Deployments\n *\n * @author    Peter McWilliams \u003cpmcwilliams@augustash.com\u003e\n * @copyright Copyright (c) 2023 August Ash (https://www.augustash.com)\n */\n\ndeclare(strict_types=1);\n\nnamespace Deployer;\n\n/**\n * phpcs:disable Magento2.Security.IncludeFile.FoundIncludeFile\n */\nrequire_once __DIR__ . '/src/vendor/augustash/deployer-magento2-recipe/recipe/magento-2.php';\n\n/**\n * Project Settings.\n */\nset('bin/composer', '~/.local/bin/composer');\nset('bin/n98-magerun2', '~/.local/bin/n98-magerun2');\nset('repository', 'git@github.com:augustash/example.com.git');\n\n/**\n * Files.\n */\nadd('magento_override_files', [\n    'app/etc/logrotate.conf',\n    'pub/.htaccess',\n    'pub/.user.ini',\n]);\n\n/**\n * Inventory.\n */\nimport('deploy/hosts.yml');\n```\n\nCreate a `hosts.yml` file that will contain information about your deployment targets. Here is a sample containing a production and staging server:\n\n```yaml\nhosts:\n  .base: \u0026base\n    cloudflare_key:\n    deploy_path: /home/{{http_user}}/code/{{stage}}\n    git_ssh_command: ssh -o StrictHostKeyChecking=no\n    magento_composer_auth_config:\n      - host: repo.magento.com\n        user: MAGENTO_USER_TOKEN # Client's user/public token\n        pass: MAGENTO_PASSWORD_TOKEN # Client's password/secret token\n      - host: augustash.repo.repman.io\n        user: token\n        pass: AAI_REPMAN_TOKEN\n    magento_deploy_production: true\n\n  staging:\n    \u003c\u003c: *base\n    branch: develop\n    cloudflare_zone:\n    hostname: STAGING_HOSTNAME\n    http_group: STAGING_HTTP_GROUP\n    http_user: STAGING_HTTP_USER\n    labels:\n      role: app\n      stage: staging\n    remote_user: STAGING_SSH_USER\n    stage: staging\n\n  production:\n    \u003c\u003c: *base\n    branch: master\n    cloudflare_zone:\n    hostname: PRODUCTION_HOSTNAME\n    http_group: PRODUCTION_HTTP_GROUP\n    http_user: PRODUCTION_HTTP_USER\n    labels:\n      role: app\n      stage: production\n    remote_user: PRODUCTION_SSH_USER\n    stage: production\n```\n\n### Include Supervisor\n\nIf the project is using RabbitMQ \u0026 Supervisor, you can include some additional configuration and tasks by adding the following to your `deploy.php` file:\n\n```php\nrequire_once __DIR__ . '/src/vendor/augustash/deployer-magento2-recipe/recipe/magento-supervisor.php';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustash%2Fdeployer-magento2-recipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustash%2Fdeployer-magento2-recipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustash%2Fdeployer-magento2-recipe/lists"}