Skip to content

Commit 123ef06

Browse files
authored
chore: flush cdn after upload files (#6690)
Signed-off-by: lyb <yebin.li@pingcap.com>
1 parent 4f2d5d4 commit 123ef06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-v1.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ jobs:
8181
set -e
8282
CHARTS_BUILD_DIR="output/chart"
8383
cd ${CHARTS_BUILD_DIR}
84-
curl -f http://charts.pingcap.org/index.yaml -o index.yaml 2>/dev/null || true
85-
helm repo index . --url https://charts.pingcap.org/ --merge index.yaml 2>/dev/null || helm repo index . --url https://charts.pingcap.org/
84+
curl -f https://charts.pingcap.com/index.yaml -o index.yaml 2>/dev/null || true
85+
helm repo index . --url https://charts.pingcap.com/ --merge index.yaml 2>/dev/null || helm repo index . --url https://charts.pingcap.com/
8686
8787
- name: Upload all charts and index.yaml to Tencent COS
8888
uses: sylingd/tencent-cos-and-cdn-action@v1
@@ -93,3 +93,4 @@ jobs:
9393
cos_region: ap-beijing
9494
local_path: ./output/chart
9595
remote_path: /
96+
cdn_prefix: https://charts.pingcap.com/

0 commit comments

Comments
 (0)