PHP >=7.4.0NVM
You can find all available commands in the Makefile.
NOTE: the .env file must be defined and contain the required parameters (use the .env.example file as reference).
Before using workflows, you should define secret variables in the project repository settings (docs).
- For
deploy-to-prod:PROD_FTP_HOST;PROD_FTP_PATH;PROD_FTP_NAME;PROD_FTP_PWD.
- For
deploy-to-dev:DEV_FTP_HOST;DEV_FTP_PATH;DEV_FTP_NAME;DEV_FTP_PWD.
create-release-zip doesn't require additional variables and after execution will output a zip archive as an artifact.
In this file you can find "release":{} which contains a list of directories and files that should be included in the release, it's used when executing the deploy-to-dev in the local environment and create-release-zip in all environments.
In deploy-to-prod.yml and deploy-to-dev.yml files under name: Deploy you can find exclude which contains a list of directories and files to ignore during the deployment process.