Skip to content

Commit ccc99e2

Browse files
fix: clean chart-releaser artifacts for releasing the doc
1 parent df9fc47 commit ccc99e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-with-version.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ jobs:
169169
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
170170
git fetch origin
171171
if git show-ref --quiet refs/remotes/origin/gh-pages; then
172+
# Clean up chart-releaser artifacts that might conflict with checkout
173+
rm -rf .cr-index/ .cr-release-packages/ || true
174+
172175
# Simple approach: checkout gh-pages, add docs, commit, push
173176
git checkout gh-pages
174177

0 commit comments

Comments
 (0)