Skip to content

Commit 487a99a

Browse files
mergify[bot]ebaron
andauthored
ci(release): call submodule update from release workflow (#105) (#106)
(cherry picked from commit ed50629) Co-authored-by: Elliott Baron <ebaron@redhat.com>
1 parent d41e0b0 commit 487a99a

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/helm-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ jobs:
4646
version: v1.5.0
4747
charts_dir: charts
4848
config: .github/helm-release-config.yml
49+
50+
update-helm-repo:
51+
uses: ./.github/workflows/submodule.yml
52+
needs: helm-release
53+
if: github.repository_owner == 'cryostatio'
54+
secrets:
55+
SUBMODULE_TOKEN: ${{ secrets.SUBMODULE_TOKEN }}
56+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
57+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

.github/workflows/submodule.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: submodule
22

33
on:
4-
push:
5-
branches:
6-
- gh-pages
4+
workflow_call:
5+
secrets:
6+
SUBMODULE_TOKEN:
7+
required: true
8+
GPG_PRIVATE_KEY:
9+
required: true
10+
GPG_PASSPHRASE:
11+
required: true
712

813
defaults:
914
run:

0 commit comments

Comments
 (0)