Skip to content

Commit

Permalink
Rollback on helmdoc generation (kubernetes#8154)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz authored and rchshld committed May 17, 2023
1 parent 6cff0ff commit 9f4ab4b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,28 +57,6 @@ jobs:
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"
- name: Set up Go 1.17
id: go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Run helm-docs
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
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
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 --force https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git main
fi
rm ./helm-docs
- name: Run chart-releaser
uses: helm/[email protected]
env:
Expand Down

0 comments on commit 9f4ab4b

Please sign in to comment.