Skip to content

Commit

Permalink
update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
itboon committed Jun 7, 2023
1 parent 5cd4b48 commit 6a0350d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/oss-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
types: [completed]
branches:
- main
#push:
# branches:
# - gh-pages

jobs:
release:
oss:
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -41,5 +44,6 @@ jobs:
sed -i 's%- https://github\.com/%- https://'${MIRROR_HOST}'/github/%g' /tmp/index.yaml
$ALIOSS cp -f /tmp/index.yaml \
"oss://${OSS_BUCKET}/kafka/index.yaml" \
--meta content-type:text/yaml
--meta "content-type:text/plain; charset=utf-8"
fi
$ALIOSS cp -rf ./examples/ "oss://${OSS_BUCKET}/kafka/examples/"

0 comments on commit 6a0350d

Please sign in to comment.