Skip to content
Snippets Groups Projects
Commit 7c45a3ec authored by Dejan's avatar Dejan
Browse files

#56 make node_access_rebuild() configurable

parent f96aa8c2
No related branches found
No related tags found
1 merge request!3#56 make node_access_rebuild() configurable
......@@ -37,6 +37,7 @@ variables:
THEME_BUILD_NODE_IMG: 'registry.lakedrops.com/docker/node:16-stretch-slim'
THEME_CSS_PATH: web/core/themes/olivero/css
UPDATE_DB_COMMAND: 'drush -y updatedb'
DISABLE_NODE_ACCESS_REBUILD: 0
include:
- project: 'gitlab-ci-cd/drupal'
......
......@@ -619,7 +619,7 @@ Debug:
- if [[ "$INITIAL" == "no" ]]; then sleep 3; drush -y cache-rebuild; fi
- if [[ "$INITIAL" == "no" ]] && [[ "${SKIPCONFIGIMPORT}" == "no" ]]; then drush -y config-import; fi
- if [[ "$INITIAL" == "no" ]]; then ${UPDATE_DB_COMMAND}; fi
- if [[ "$INITIAL" == "no" ]]; then drush -y php:eval "node_access_rebuild();"; fi
- if [[ "$INITIAL" == "no" ]] && [[ "${DISABLE_NODE_ACCESS_REBUILD}" == "0" ]]; then drush -y php:eval "node_access_rebuild();"; fi
- if [[ "$INITIAL" == "no" ]]; then drush -y deploy:hook; fi
- if [[ "$INITIAL" == "no" ]]; then drush -y sset system.maintenance_mode 0; fi
- if [[ "$INITIAL" == "no" ]]; then drush -y cache-rebuild; fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment