Skip to content

Commit

Permalink
ci(release): call submodule update from release workflow (#105) (#106)
Browse files Browse the repository at this point in the history
(cherry picked from commit ed50629)

Co-authored-by: Elliott Baron <ebaron@redhat.com>
  • Loading branch information
mergify[bot] and ebaron authored Dec 8, 2023
1 parent d41e0b0 commit 487a99a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ jobs:
version: v1.5.0
charts_dir: charts
config: .github/helm-release-config.yml

update-helm-repo:
uses: ./.github/workflows/submodule.yml
needs: helm-release
if: github.repository_owner == 'cryostatio'
secrets:
SUBMODULE_TOKEN: ${{ secrets.SUBMODULE_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
11 changes: 8 additions & 3 deletions .github/workflows/submodule.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: submodule

on:
push:
branches:
- gh-pages
workflow_call:
secrets:
SUBMODULE_TOKEN:
required: true
GPG_PRIVATE_KEY:
required: true
GPG_PASSPHRASE:
required: true

defaults:
run:
Expand Down

0 comments on commit 487a99a

Please sign in to comment.