mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
zip path
This commit is contained in:
3
.github/workflows/autodeploy.yml
vendored
3
.github/workflows/autodeploy.yml
vendored
@@ -74,11 +74,12 @@ jobs:
|
|||||||
- name: Download and unzip the build
|
- name: Download and unzip the build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
rm ./*
|
||||||
EXTENSION="${TARGET_ZIP##*.}"
|
EXTENSION="${TARGET_ZIP##*.}"
|
||||||
FILENAME="${TARGET_ZIP%.*}"
|
FILENAME="${TARGET_ZIP%.*}"
|
||||||
LATEST_FILENAME="${FILENAME}_latest.${EXTENSION}"
|
LATEST_FILENAME="${FILENAME}_latest.${EXTENSION}"
|
||||||
gsutil cp gs://${{ secrets.CORIOLIS_GCP_TARGET_BUCKET }}/${{ env.BUCKET_FOLDER }}/${LATEST_FILENAME} ${LATEST_FILENAME}
|
gsutil cp gs://${{ secrets.CORIOLIS_GCP_TARGET_BUCKET }}/${{ env.BUCKET_FOLDER }}/${LATEST_FILENAME} ${LATEST_FILENAME}
|
||||||
unzip .${LATEST_FILENAME}
|
unzip ./${LATEST_FILENAME}
|
||||||
- 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