We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2b06e commit c8485c4Copy full SHA for c8485c4
.github/workflows/oss-upload.yml
@@ -1,9 +1,11 @@
1
name: OSS Upload
2
3
on:
4
- push:
5
- tags:
6
- - kafka*
+ workflow_run:
+ workflows: ["Release Charts"]
+ types: [completed]
7
+ branches:
8
+ - main
9
10
jobs:
11
release:
@@ -36,7 +38,7 @@ jobs:
36
38
git show remotes/origin/gh-pages:index.yaml > /tmp/index.yaml
37
39
head -n50 /tmp/index.yaml
40
if head -n50 /tmp/index.yaml | grep -E '^apiVersion:' ; then
- sed -i 's%- https://github\.com/sir5kong%- https://'${MIRROR_HOST}'/github/sir5kong%g' /tmp/index.yaml
41
+ sed -i 's%- https://github\.com/%- https://'${MIRROR_HOST}'/github/%g' /tmp/index.yaml
42
$ALIOSS cp -f /tmp/index.yaml \
43
"oss://${OSS_BUCKET}/kafka/index.yaml" \
44
--meta content-type:text/yaml
0 commit comments