Skip to content

Commit

Permalink
fix helmdoc push shell script (kubernetes#8152)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz authored and rchshld committed May 17, 2023
1 parent 29d28bb commit 33b891d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
cd ${GITHUB_WORKSPACE}
GOBIN=$PWD GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/[email protected]
./helm-docs --chart-search-root=${GITHUB_WORKSPACE}/charts
git diff --exit-code ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md
if [ $? -ne 0 ]; then
DIFF=$(git diff ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md)
if [ ! -z "$DIFF" ]; then
git add ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md
git commit -m "Update helm README"
git push --quiet https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git main > /dev/null 2>&1
Expand Down

0 comments on commit 33b891d

Please sign in to comment.