Skip to content

Commit

Permalink
fix ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
itboon committed Jun 5, 2023
1 parent de4b8f8 commit 1e9e942
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
rm -f /tmp/index.yaml
curl -o /tmp/index.yaml -L "$CHART_INDEX_URL"
if cat /tmp/index.yaml | grep -E '^apiVersion:' ; then
$ALIOSS cp -f /tmp/index.yaml "oss://${OSS_BUCKET}/kafka/index.yaml"
sed -i 's%- https://github\.com/sir5kong%- https://helm-charts.sir5kong.xyz/github/sir5kong%g' /tmp/index.yaml
$ALIOSS cp -f /tmp/index.yaml \
"oss://${OSS_BUCKET}/kafka/index.yaml" \
--meta content-type:text/yaml
fi

0 comments on commit 1e9e942

Please sign in to comment.