Do not use in production for now. Just for testing!
A reusable Composer library that ships:
- A production-ready Deployer v7 script for Magento 2.
- GitLab and Bitbucket Pipelines templates that generate
hosts.ymlfrom CI variables. - A one-off legacy → Deployer migration task.
- Optional Hyvä/Tailwind build per theme (configured via CI variables).
Install in your Magento project through composer
composer require --dev falconmedia/magento2-deployer-ci
# Choose your CI: --ci=gitlab (default) or --ci=bitbucketGitlab:
vendor/bin/m2-deployer-init . --ci=gitlab --guide
git add deploy.php .gitlab-ci.yml bitbucket-pipelines.yml README-CI-DEPLOYER.md
git commit -m "Add Deployer CI (GitLab)"Bitbucket:
vendor/bin/m2-deployer-init . --ci=bitbucket --guide
git add deploy.php bitbucket-pipelines.yml README-CI-DEPLOYER.md
git commit -m "Add Deployer CI (Bitbucket)"