Skip to content

Commit 3b189c8

Browse files
committed
test: ci
1 parent 6ef00d7 commit 3b189c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/production.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,16 @@ jobs:
131131
132132
- name: Deploy md to COS
133133
run: |
134-
./coscli cp public/ cos://${{ secrets.TENCENTCLOUD_BUCKET_ID }} \
134+
./coscli sync public/ cos://${{ secrets.TENCENTCLOUD_BUCKET_ID }} \
135135
--init-skip \
136136
--recursive \
137137
--routines 16 \
138138
--secret-id ${{ secrets.TENCENTCLOUD_SECRET_ID }} \
139139
--secret-key ${{ secrets.TENCENTCLOUD_SECRET_KEY }} \
140140
--endpoint cos.na-ashburn.myqcloud.com \
141141
--include ".*\.md$" \
142-
--meta "Content-Type:text/plain; charset=utf-8"
142+
--meta "Content-Type:text/plain; charset=utf-8" \
143+
--force
143144
144145
cdn-refresh:
145146
needs: build

0 commit comments

Comments
 (0)