Skip to content

Commit

Permalink
Merge pull request #95 from Automattic/update-content
Browse files Browse the repository at this point in the history
feat(wordpress): run `composer install` in `updateContentCommand`
  • Loading branch information
sjinks authored Aug 10, 2023
2 parents d2556c1 + f67dd5f commit d61f69e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion features/src/wordpress/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"id": "wordpress",
"name": "WordPress",
"description": "Sets up WordPress into the Dev Environment",
"version": "2.1.8",
"version": "2.2.0",
"containerEnv": {
"WP_CLI_CONFIG_PATH": "/etc/wp-cli/wp-cli.yaml"
},
"updateContentCommand": "composer install -n || true",
"postCreateCommand": "/usr/local/bin/wordpress-post-create.sh",
"options": {
"version": {
Expand Down
2 changes: 0 additions & 2 deletions features/src/wordpress/setup-wordpress.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh

set -x

XDEBUG_MODE=off
export XDEBUG_MODE

Expand Down

0 comments on commit d61f69e

Please sign in to comment.