Skip to content

Commit

Permalink
Delete local repo
Browse files Browse the repository at this point in the history
  • Loading branch information
apolignano committed Jan 21, 2025
1 parent b72bc05 commit 4932569
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down Expand Up @@ -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"

0 comments on commit 4932569

Please sign in to comment.