File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,12 @@ github:
20
20
tasks :
21
21
- openMode : tab-after
22
22
name : " Services"
23
- init : if [ "${INSTALL_MAGENTO}" = "YES" ]; then
24
- sudo chown -R gitpod:gitpod /home/gitpod/.config/composer;
25
- cd $GITPOD_REPO_ROOT &&
26
- composer config -g -a http-basic.repo.magento.com ${MAGENTO_COMPOSER_AUTH_USER} ${MAGENTO_COMPOSER_AUTH_PASS} &&
27
- composer create-project --no-interaction --no-progress --repository-url=https://repo.magento.com/ magento/project-community-edition=${MAGENTO_VERSION} magento2 &&
28
- cd magento2 && cp -avr .* $GITPOD_REPO_ROOT;
29
- cd $GITPOD_REPO_ROOT && rm -r -f magento2 && git checkout -- .gitignore;
30
- fi
23
+ init : sudo chown -R gitpod:gitpod /home/gitpod/.config/composer;
24
+ cd $GITPOD_REPO_ROOT &&
25
+ composer config -g -a http-basic.repo.magento.com ${MAGENTO_COMPOSER_AUTH_USER} ${MAGENTO_COMPOSER_AUTH_PASS} &&
26
+ composer create-project --no-interaction --no-progress --repository-url=https://repo.magento.com/ magento/project-community-edition=${MAGENTO_VERSION} magento2 &&
27
+ cd magento2 && cp -avr .* $GITPOD_REPO_ROOT;
28
+ cd $GITPOD_REPO_ROOT && rm -r -f magento2 && git checkout -- .gitignore;
31
29
command : sudo sed -i 's#$GITPOD_REPO_ROOT#'$GITPOD_REPO_ROOT'#g' /etc/nginx/nginx.conf &&
32
30
sudo sed -i 's#$GITPOD_REPO_ROOT#'$GITPOD_REPO_ROOT'#g' /etc/supervisor/conf.d/sp-php-fpm.conf &&
33
31
sudo sed -i 's#$PHP_VERSION#'$PHP_VERSION'#g' /etc/supervisor/conf.d/sp-php-fpm.conf &&
You can’t perform that action at this time.
0 commit comments