To override the default scripts of magento-actions :
- add a scripts and/or config directory at the root
- use
override_settings:1
after the with argument section of the action
for example
- name: 'launch magento2 build'
if: ${{true}}
uses: MAD-I-T/magento-actions@v3.10
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'build'
elasticsearch: 1
override_settings: 1
This build start the actions and use the script inside the scripts/build.sh created by you, instead of using the actions default script build instructions.