-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d3af3e
commit c8a5658
Showing
2 changed files
with
7 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,31 +42,23 @@ attributes: | |
install: | ||
steps: | ||
- | | ||
passthru drupal site:install standard \ | ||
--langcode=en \ | ||
\ | ||
--db-type=mysql \ | ||
"--db-host=${DB_HOST}" \ | ||
"--db-name=${DB_NAME}" \ | ||
"--db-user=${DB_USER}" \ | ||
"--db-pass=${DB_PASS}" \ | ||
"--db-port=3306" \ | ||
\ | ||
passthru drush site:install standard \ | ||
--locale=en \ | ||
--site-name=Drupal \ | ||
[email protected] \ | ||
\ | ||
--account-name=admin \ | ||
[email protected] \ | ||
--account-pass=admin123 | ||
--account-pass=admin123 \ | ||
--yes | ||
- run chmod 755 /app/docroot/sites/default | ||
- task overlay:apply | ||
- task assets:dump | ||
migrate: | ||
steps: | ||
- run drupal cache:rebuild | ||
- run drupal update:entities | ||
- run drupal update:execute | ||
- run drupal cache:rebuild | ||
- run drush cache:rebuild | ||
- run drush updatedb | ||
- run drush cache:rebuild | ||
cron: | ||
jobs: | ||
- = '*/5 * * * * /cron-run-with-env.sh /app/bin/drush --root="/app/' ~ @('drupal.docroot') ~ '" cron' | ||
|