File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ jobs:
133133 with :
134134 name : playground-dist
135135 path : ./packages/playground/dist/
136-
136+
137137 - name : Install obsutil
138138 run : |
139139 curl -o obsutil.tar.gz https://obs-community.obs.cn-north-1.myhuaweicloud.com/obsutil/current/obsutil_linux_amd64.tar.gz
@@ -147,9 +147,9 @@ jobs:
147147 -k=${{ env.HUAWEI_CLOUD_SK }} \
148148 -e=${{ env.HUAWEI_CLOUD_ENDPOINT }}
149149 # Upload to versioned path
150- obsutil cp ./packages/playground/dist/ \
150+ obsutil cp ./packages/playground/dist \
151151 obs://${{ env.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }} \
152- -r -f
152+ -r -f -flat
153153
154154 echo "Uploaded to: obs://${{ env.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }}"
155155 echo "CDN URL: https://res-static.opentiny.design/${{ needs.build.outputs.obs-path }}"
You can’t perform that action at this time.
0 commit comments