From 58bdf435b9b64fd0d5ca2c1164187868e884810a Mon Sep 17 00:00:00 2001 From: Bennie Rosas Date: Sat, 14 Dec 2024 21:03:33 -0600 Subject: [PATCH] update deploy-preprod workflow --- .github/workflows/deploy-preprod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preprod.yml b/.github/workflows/deploy-preprod.yml index ecce2fb28..807b54ba9 100644 --- a/.github/workflows/deploy-preprod.yml +++ b/.github/workflows/deploy-preprod.yml @@ -52,7 +52,8 @@ jobs: SERVICE_URL: https://preprod.pol.is run: | docker compose create --build --force-recreate file-server - docker cp file-server:/app/build/build ./build + CONTAINER_ID=$(docker ps -qaf name=file-server) + docker cp ${CONTAINER_ID}:/app/build/ ./build - name: Set up Python uses: actions/setup-python@v5