Skip to content
Snippets Groups Projects
Commit 893e266d authored by Emmanuel Ormancey's avatar Emmanuel Ormancey
Browse files

autoupdate wp-cli

parent 5364e838
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
#set -x #set -x
#set -eo pipefail #set -eo pipefail
export PATH="$PATH:/opt/app-root/downloads" export PATH="$PATH:/opt/app-root/downloads:/opt/app-root/bin"
# AutoUpdate WP Cli
/opt/app-root/bin/wp cli update --yes
# ------- EO 03.04.2019 ------- # ------- EO 03.04.2019 -------
if ! $(/opt/app-root/bin/wp core is-installed); then if ! $(/opt/app-root/bin/wp core is-installed); then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment