Skip to content

Commit 3b7693c

Browse files
authored
ci: Update publish-chart-packages.yml to add .gitignore (#221)
This pull request makes a minor update to the Helm chart publishing workflow by adding a `.gitignore` file to the `dist` directory. This change ensures that `.DS_Store` files are ignored when publishing chart archives to the `gh-pages` branch.
1 parent 138fb03 commit 3b7693c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish-chart-packages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ jobs:
119119
fi
120120
echo "Index generated for $BASE_URL"
121121
122+
- name: Allow chart archives in gh-pages
123+
run: |
124+
set -euo pipefail
125+
printf "%s\n" ".DS_Store" > dist/.gitignore
126+
122127
- name: Publish Helm repo to gh-pages
123128
uses: peaceiris/actions-gh-pages@v4
124129
with:

0 commit comments

Comments
 (0)