From 52d28dd56d4116ff38479ac4224eff576e8ac24c Mon Sep 17 00:00:00 2001 From: Hoan Nguyen Date: Fri, 1 Nov 2024 10:51:26 +0700 Subject: [PATCH] MARP-1199 DEV instance refers to the config of the ci build - Use working directory --- .github/workflows/docker-build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5bd5c0be..566356c2 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -37,12 +37,13 @@ jobs: run: | docker compose -f publish/docker-compose.yml down --rmi all - name: Delete old sources code + working-directory: ${{ env.BASE_WORKING_DIR }} run: | echo "Clean up workspaces ${{ env.BASE_WORKING_DIR }}" - rm -rf ${{ env.BASE_WORKING_DIR }}/marketplace-ui/* - rm -rf ${{ env.BASE_WORKING_DIR }}/marketplace-service/* - rm -rf ${{ env.BASE_WORKING_DIR }}/publish/* - rm -rf ${{ env.BASE_WORKING_DIR }}/config/* + rm -rf ./marketplace-ui/* + rm -rf ./marketplace-service/* + rm -rf ./publish/* + rm -rf ./config/* build-and-deploy: name: Build and bring up docker containers