Skip to content

Commit

Permalink
fix helmdoc push shell script (#8152)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz committed Jan 17, 2022
1 parent 0e5d4ad commit 2db580a
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 2db580a

Please sign in to comment.