From 9fadb721f3ee6d2f5629f715fd367c0d211a149d Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Sat, 22 Jun 2024 16:07:11 +0100 Subject: [PATCH] fixes for autodeploy --- .github/workflows/autodeploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autodeploy.yml b/.github/workflows/autodeploy.yml index 45599a23..300c51cd 100644 --- a/.github/workflows/autodeploy.yml +++ b/.github/workflows/autodeploy.yml @@ -73,12 +73,13 @@ jobs: - name: Download and unzip the build shell: bash run: | + rm -Rf ./build/ mkdir ./build/ EXTENSION="${TARGET_ZIP##*.}" FILENAME="${TARGET_ZIP%.*}" LATEST_FILENAME="${FILENAME}_latest.${EXTENSION}" gsutil cp gs://${{ secrets.CORIOLIS_GCP_TARGET_BUCKET }}/${{ env.BUCKET_FOLDER }}/${LATEST_FILENAME} ./build/${LATEST_FILENAME} - unzip ./build/${LATEST_FILENAME} -d ./build/ + unzip ./build/${LATEST_FILENAME} - name: Move the build to the web server shell: bash run: |