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
|
- name: Zipping dist file
|
||||||
run: |
|
run: |
|
||||||
BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
|
BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
|
||||||
mv dist /tmp/${{ BRANCH }}
|
mv dist /tmp/${BRANCH}
|
||||||
cd /tmp
|
cd /tmp
|
||||||
zip ${{ BRANCH }}.zip -r ${{ BRANCH }}/*
|
zip ${BRANCH}.zip -r ${BRANCH}/*
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
- name: uploading file
|
- name: uploading file
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
- name: cleanup files
|
- name: cleanup files
|
||||||
run: |
|
run: |
|
||||||
BRANCH=$(echo ${{ github.ref_name }} | sed 's/\//-/g')
|
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
|
- name: unzipping remote file
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue