diff --git a/.tugboat/config.yml b/.tugboat/config.yml index 0a0451dfff..6eaa4be95e 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -237,9 +237,14 @@ services: - find -L "${DOCROOT}/vendor/va-gov/content-build/node_modules/.bin" -type f -exec chmod +x {} \+ - find "${DOCROOT}/vendor/va-gov/content-build/script" -type f -exec chmod +x {} \+ - # Build storybook and the frontends in parallel + # Build storybook and the frontends (web, next) in parallel - bash -lc 'time task --taskfile=tugboat.yml' - # Build next build server + + # Put necessary env variables in place for next's Drupal Preview before starting server + - echo "DRUPAL_CLIENT_ID=${DRUPAL_CLIENT_ID}" >> ${TUGBOAT_ROOT}/next/envs/.env.tugboat + - echo "DRUPAL_CLIENT_SECRET=${DRUPAL_CLIENT_SECRET}" >> ${TUGBOAT_ROOT}/next/envs/.env.tugboat + + # Start the next build server - bash -lc 'composer va:next:start' memcache: