Skip to content

Commit

Permalink
add other env vars where they need to be
Browse files Browse the repository at this point in the history
  • Loading branch information
tjheffner committed Nov 1, 2023
1 parent 6723545 commit 383e2aa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 383e2aa

Please sign in to comment.