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.
The magento-actions will populate your repo with magento source code.
Don't forget to set the composer COMPOSER_AUTH
in settings > secrets > actions.
To regenerate the repo just delete the magento directory.
Reminder : Make sure you use actions/checkout@v2 before the action as in the sample main.yml file. 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
- Create variable
COMPOSER_AUTH
- Add you composer auth as value e.g :
{"http-basic":{"repo.magento.com": {"username": "xxxxxxxxxxxxxx", "password": "xxxxxxxxxxxxxx"}}}
Ask questions here https://forum.madit.fr/t/install-magento-using-github-actions/13