gitlab-ci.yml on default branch (master) or the pipeline doesn't startĪlso, first deploy/release will fail because we don't have any setup completed in the server Create/compile Magento env.php on server In this case pipeline start only with develop branch. Go to Settings > CI/CD > General pipelines settings and add pipelines/gitlab/.gitlab-ci.yml under Custom CI config path Use this project to add Gitlab Pipeline: home/admin/magento) STAGE_SSH_KEYSCAN -> output of the file server_keyscan.txt STAGE_SSH_PRIVATE_KEY -> output of the file my_ssh_key STAGE_USER -> ssh user for server access (in our example admin) Add gitlab pipeline files in your project ![]() magento.staging) STAGE_HOST_DEPLOY_PATH -> absolute path where you put your source code (ex. STAGE_HOST -> ip or domain of your web machine (ex. Go to Settings > CI/CD > Variables and add these variables: Mkdir /home/admin/magento/bucket Add Gitlab Variables for Pipeline ![]()
0 Comments
Leave a Reply. |