mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Fixing unzipping process
This commit is contained in:
7
.github/workflows/autodeploy.yml
vendored
7
.github/workflows/autodeploy.yml
vendored
@@ -74,8 +74,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir ./build/
|
mkdir ./build/
|
||||||
gsutil cp gs://${{ secrets.CORIOLIS_GCP_TARGET_BUCKET }}/${{ env.BUCKET_FOLDER }}/${TARGET_ZIP}_latest.zip ./build/${TARGET_ZIP}_latest.zip
|
EXTENSION="${TARGET_ZIP##*.}"
|
||||||
unzip ./build/${TARGET_ZIP}_latest.zip -d ./build/
|
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/
|
||||||
- name: Move the build to the web server
|
- name: Move the build to the web server
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user