added possibility for secretKeyRef for metering truststorePassword #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Regenerate Helm README Documentation | |
on: | |
push: | |
branches-ignore: | |
- main # Run on all not 'main' branches | |
paths: | |
- '**/helm/values.yaml' # Only if values.yaml or ... | |
- '**/helm/README.md.gotmpl' # ... README.md.gotmpl is pushed | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: self-hosted | |
steps: | |
- name: Clean workspace | |
run: | | |
rm -Rf * | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Git clone | |
run: | | |
git config --global user.name "${{ github.event.head_commit.committer.name }}" | |
git config --global user.email "${{ github.event.head_commit.committer.email }}" | |
git clone git@github.com:SoftwareAG/webmethods-helm-charts.git -b ${{ github.ref_name }} | |
- name: Generate Helm README Documentation with jnorwood | |
run: | | |
cd webmethods-helm-charts/ | |
sudo docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest | |
- name: Push new generated README | |
run: | | |
cd webmethods-helm-charts/ | |
git add . | |
git commit -am "${{ github.event.head_commit.message }} and updating helm/README.me from values.yaml" | |
git branch -M ${{ github.ref_name }} | |
git push -f origin ${{ github.ref_name }} |