From 8584b5eb25b4b9590e65dfa9dbaf9dd773b555f4 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Tue, 6 Aug 2024 15:05:37 -0600 Subject: [PATCH] add the value of the option to add if the option didn't exist --- bin/behat-prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/behat-prepare.sh b/bin/behat-prepare.sh index 2b4f5bf..ab9cc76 100755 --- a/bin/behat-prepare.sh +++ b/bin/behat-prepare.sh @@ -82,7 +82,7 @@ terminus wp $SITE_ENV -- theme activate twentytwentythree terminus wp $SITE_ENV -- rewrite structure '/%year%/%monthnum%/%day%/%postname%/' # Add the pantheon-cache option if it doesn't already exist. if ! terminus wp $SITE_ENV -- option get pantheon-cache; then - terminus wp $SITE_ENV -- option add pantheon-cache + terminus wp $SITE_ENV -- option add pantheon-cache '{"default_ttl":600,"maintenance_mode":"disabled"}' --format=json fi # Set the starting default_ttl value to 600, our old default. terminus wp $SITE_ENV -- option patch set pantheon-cache default_ttl 600