This is a magento installer using github action. Clone & push this repo and set appropriate the magento version in the main.yml file. Or copy past the content of the file direclty in your repo.
This feature requires read & write permissions to the repository. This is set through settings > actions > general > workflows permissions
The magento-actions will populate your repo with magento source code.
Don't forget to set the composer COMPOSER_AUTH
in settings > secrets > actions > Repository Secrets.
To regenerate the repo just delete the magento directory.
Reminder : Because a habit to follow https://12factor.net composer credentials are set through github secret option.
Warning : Magento 2.3.3-p1 to 2.3.7-p2 and 2.4.0 to 2.4.3-p1 are compromised (see bulletin). If you choose to install theses versions please apply the patch (instructions here)
- Go to
Settings>Secrets>Repository secrets
- Create variable
COMPOSER_AUTH
- Add you composer auth as value e.g :
{"http-basic":{"repo.magento.com": {"username": "xxxxxxxxxxxxxx", "password": "xxxxxxxxxxxxxx"}}}
One can use our magento-devbox as local dev environment, linux and mac os supported.
Ask questions here https://forum.madit.fr/t/install-magento-using-github-actions/13