Skip to content

Commit a4e8b3a

Browse files
committed
Move readme updat to be a job under the release workflow
1 parent 0887cb1 commit a4e8b3a

File tree

2 files changed

+17
-31
lines changed

2 files changed

+17
-31
lines changed

.github/workflows/release.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,25 @@ on:
88
- charts/s3proxy/**
99

1010
jobs:
11+
update-readme:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 5
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Render helm docs inside the README.md and push changes back to PR branch
18+
uses: losisin/helm-docs-github-action@v1
19+
with:
20+
output-file: ../../README.md
21+
template-files: README.md.gotmpl
22+
git-push: true
23+
git-push-user-name: "CometActions"
24+
git-push-user-email: "[email protected]"
25+
git-commit-message: "Update Helm documentation"
1126
release:
1227
runs-on: ubuntu-latest
28+
needs:
29+
- update-readme
1330
steps:
1431
- name: Checkout repository
1532
uses: actions/checkout@v4

.github/workflows/update-readme.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)