Skip to content

Commit

Permalink
Add CR_SKIP_EXISTING env var, replace release dir creation with file …
Browse files Browse the repository at this point in the history
…listing, update artifact path.
  • Loading branch information
komer3 committed Nov 14, 2024
1 parent 68d14b0 commit 7fb0ba1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,22 @@ jobs:
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: "true"
with:
charts_dir: charts
skip_existing: true

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Create release dir
- name: List files
run: |
mkdir -p .cr-release-packages
cp -r .cr-release/* .cr-release-packages/ || true
cp .cr-index/index.yaml .cr-release-packages/ || true
ls -la
ls -la .cr-* || true
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.cr-release-packages'
path: '.cr-index'

- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 7fb0ba1

Please # to comment.