From 01d8113dce4bd4fc9e77349bba759846fa50ada8 Mon Sep 17 00:00:00 2001 From: James Kent Date: Thu, 19 Sep 2024 14:25:56 -0500 Subject: [PATCH] call container --- .github/workflows/deploy-to-staging.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-staging.yml b/.github/workflows/deploy-to-staging.yml index 16ae3349..1071622f 100644 --- a/.github/workflows/deploy-to-staging.yml +++ b/.github/workflows/deploy-to-staging.yml @@ -94,7 +94,6 @@ jobs: if: ${{ steps.changes.outputs.frontend }} run: | ssh git@deepdream.psy.utexas.edu ' - cd /var/www/neurostore/compose/neurosynth-frontend && - npm install && - npm run build:staging + cd /var/www/neurostore/compose && + docker compose exec -T compose bash -c "cd /compose/neurosynth-frontend/ && npm install && npm run build:staging" '