Skip to content

Commit

Permalink
project-config/sync -> project-config/apply
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Welch <[email protected]>
  • Loading branch information
khalwat committed Sep 3, 2020
1 parent 94877ea commit 332c409
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,18 @@
commands:
- "# Ensure the craft script is executable"
- "chmod a+x craft"
- "# Turn Craft off"
- "php craft off --retry=60"
- "# Restart our long running queue listener process"
- "echo \"\" | sudo -S supervisorctl restart all"
- "# Backup the database just in case any migrations or Project Config changes have issues"
- "./craft backup/db"
- "php craft backup/db"
- "# Run pending migrations, sync project config, and clear caches"
- "./craft migrate/all"
- "./craft project-config/sync"
- "./craft clear-caches/all"
- "php craft clear-caches/all"
- "php craft migrate/all"
- "php craft project-config/apply"
- "# Turn Craft on"
- "php craft on"
trigger_condition: "ALWAYS"
run_as_script: true
shell: "BASH"
Expand Down
2 changes: 1 addition & 1 deletion cms/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"post-craft-update": [
"@php craft install/check && php craft clear-caches/all || return 0",
"@php craft install/check && php craft migrate/all || return 0",
"@php craft install/check && php craft project-config/sync || return 0",
"@php craft install/check && php craft project-config/apply || return 0",
"@php craft install/check && php craft on || return 0"
],
"post-root-package-install": [
Expand Down

0 comments on commit 332c409

Please sign in to comment.