Skip to content

Commit

Permalink
ISSUE-204: final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed Jan 28, 2025
1 parent 5ce6c01 commit c484cfd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/TestAcquia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
# Recommended settings for Acquia
ddev composer config --no-plugins allow-plugins.acquia/drupal-recommended-settings false
ddev composer require acquia/drupal-recommended-settings
# Apply Acquia recommended settings manually, before DDEV settings.
# Acquia recommended settings before DDEV settings.
sed -i '/\/\/ Automatically generated include for settings managed by ddev./i require DRUPAL_ROOT . \
"/../vendor/acquia/drupal-recommended-settings/settings/acquia-recommended.settings.php";' \
docroot/sites/default/settings.php
Expand All @@ -67,8 +68,9 @@ jobs:
echo "\$settings['config_sync_directory'] = '../config';" >> web/sites/default/settings.php
ddev drush config:export -y
# When config is moved to ../config, the .htaccess to avoid execution
# is not create automatically. Running cron once does that for us.
# When config is moved to ../config, the .htaccess to avoid code
# execution is not created automatically. Running cron once creates
# the needed .htaccess file which improves security.
ddev drush cron
- name: Create .drainpipeignore
Expand Down
2 changes: 1 addition & 1 deletion scaffold/github/actions/acquia/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ runs:

- name: Take site out of Maintenance Mode
run: |
source .github/actions/drainpipe/set-env/bash_aliases
source .github/actions/drainpipe/set-env/bash_aliases
drainpipe_exec "./vendor/bin/task drupal:maintenance:off site=@${{ inputs.environment }}"
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion tasks/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ tasks:
maintenance:off:
desc: Turn off Maintenance Mode
cmds:
- ./vendor/bin/drush {{.site}} --yes state:set system.maintenance_mode 0 --input-format=integer
- ./vendor/bin/drush {{.site}} --yes state:set system.maintenance_mode 0 --input-format=integer

0 comments on commit c484cfd

Please sign in to comment.