Commit 2e138add authored by Samuel Sirois's avatar Samuel Sirois
Browse files

Fix rights on folders/files of a D8 instance

parent 6ad6fb99
Pipeline #1123 failed with stage
in 1 minute and 17 seconds
......@@ -124,6 +124,9 @@ def site_install():
with h.fab_cd(role, site_root):
h.fab_run(role, 'chown {}:{} ./sites'.format(env.apache_user, env.apache_user))
h.fab_run(role, 'chmod ug+w ./sites/default'.format(env.docker_site_root))
locale = '--locale="fr"' if env.locale else ''
h.fab_run(role, 'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name="{}" '
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment