mirror of https://github.com/openkruise/charts.git
helm cr upload --skip-existing (#16)
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
This commit is contained in:
parent
dd61115856
commit
c0cfe9d359
|
|
@ -26,16 +26,17 @@ jobs:
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config user.name "gh-actions"
|
git config user.name "gh-actions"
|
||||||
git config user.email "actions@github.com"
|
git config user.email "actions@github.com"
|
||||||
|
|
||||||
# This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
|
# This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
|
||||||
- name: Fetch current Chart Index
|
- name: Fetch current Chart Index
|
||||||
run: |
|
run: |
|
||||||
git checkout origin/gh-pages index.yaml
|
git checkout origin/gh-pages index.yaml
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.2.1
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
charts_dir: charts
|
charts_dir: charts
|
||||||
config: "./.github/configs/cr.yaml"
|
config: "./.github/configs/cr.yaml"
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: "${{ secrets.GH_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||||
|
CR_SKIP_EXISTING: "true"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue