forked from MapComplete/MapComplete
Scripts: fix deploy script
This commit is contained in:
parent
413e25ff42
commit
7ba991f0f3
1 changed files with 3 additions and 3 deletions
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue