Skip to content
Snippets Groups Projects
Commit a836cd37 authored by Vineet Reddy Rajula's avatar Vineet Reddy Rajula Committed by Konstantinos Samaras-Tsakiris
Browse files

Fix S2i workflow

parent ea186530
No related branches found
No related tags found
1 merge request!43Fix S2i workflow
......@@ -26,7 +26,7 @@ mv composer.admins.json composer.json
if [ -f composer.json ] && [ -f composer.user.json ] && [ -f composer.lock ]; then
echo "---> Found 'composer.lock', updating dependencies ... "
composer install --optimize-autoloader -vvv
composer update --optimize-autoloader -vvv --with-dependencies
fi
echo "--> Ignition..."
\ No newline at end of file
echo "--> Ignition..."
......@@ -50,14 +50,6 @@ public static function createRequiredFiles(Event $event) {
$fs->chmod($drupalRoot . '/sites/default/settings.php', 0666);
$event->getIO()->write("Created a sites/default/settings.php file with chmod 0666");
}
// Create the files directory with chmod 0777
if (!$fs->exists($drupalRoot . '/sites/default/files')) {
$oldmask = umask(0);
$fs->mkdir($drupalRoot . '/sites/default/files', 0777);
umask($oldmask);
$event->getIO()->write("Created a sites/default/files directory with chmod 0777");
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment