Scripts: fix deploy script

This commit is contained in:
Pieter Vander Vennet 2025-03-30 13:10:01 +02:00
parent 413e25ff42
commit 7ba991f0f3

View file

@ -54,9 +54,9 @@ jobs:
- name: Zipping dist file
run: |
BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
mv dist /tmp/${{ BRANCH }}
mv dist /tmp/${BRANCH}
cd /tmp
zip ${{ BRANCH }}.zip -r ${{ BRANCH }}/*
zip ${BRANCH}.zip -r ${BRANCH}/*
cd -
- name: uploading file
@ -67,7 +67,7 @@ jobs:
- name: cleanup files
run: |
BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
rm /tmp/${BRANCH}.zip && r${GITHUB_REF_NAME}m -rf /tmp/${BRANCH}/
rm /tmp/${BRANCH}.zip && rm -rf /tmp/${BRANCH}/
- name: unzipping remote file
run: |