From 4932569be1f07bcd7f2484a5b9f51f6301d1a8f9 Mon Sep 17 00:00:00 2001 From: apolignano Date: Tue, 21 Jan 2025 10:56:08 +0000 Subject: [PATCH] Delete local repo --- .github/workflows/cicd.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 5fa4f4101..f5680ab65 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -11,6 +11,10 @@ jobs: runs-on: self-hosted steps: + - name: Clean up frontend-runner folder + run: | + rm -rf ~/release-procedures/v2/frontend-runner + - name: Checkout deploy branch uses: actions/checkout@v3 with: @@ -23,7 +27,6 @@ jobs: run: | source ~/miniforge3/etc/profile.d/conda.sh conda activate base - export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 commit_hash=$(git log -1 --pretty=format:"%H") changed_files=$(git show --name-only --pretty="" $commit_hash) @@ -54,9 +57,8 @@ jobs: echo "Deploying from $DIST_PATH to $VM_BASE_PATH" # Create the release folder on the remote server - ssh $VM_NAME "cd $VM_BASE_PATH; mkdir -p "${IPRO_RELEASE_FOLDER}"" + ssh $VM_NAME "cd $VM_BASE_PATH; mkdir -p \"${IPRO_RELEASE_FOLDER}\"" echo "${IPRO_RELEASE_FOLDER}" > ~/release-procedures/v2/scripts/"$DEPLOY_BRANCH-release" # Copy the deployment artifacts scp -q -r $DIST_PATH/* $VM_NAME:"$VM_BASE_PATH/$IPRO_RELEASE_FOLDER" -