Skip to content

Commit 7be1ea5

Browse files
committed
fix: fix deploy again again again again again again
1 parent 75d0924 commit 7be1ea5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
4646
mkdir -p ${LOCAL_DIR}
4747
wget --max-redirect=10 -O ${LOCAL_DIR}/dist.zip ${TARGET_ZIP}
48-
unzip ${LOCAL_DIR}/dist.zip -d ${LOCAL_DIR}
48+
TEMP_DIR=$(mktemp -d)
49+
unzip ${LOCAL_DIR}/dist.zip -d ${TEMP_DIR}
50+
mv ${TEMP_DIR}/*/* ${LOCAL_DIR}
4951
rm ${LOCAL_DIR}/dist.zip
5052
done
5153

0 commit comments

Comments
 (0)