Skip to content

Commit 073cff8

Browse files
add step to sync ODH notebooks with Codeflare-SDK release
1 parent d85339b commit 073cff8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/project-codeflare-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ jobs:
152152
shell: bash
153153
if: ${{ env.SDK_RELEASE_STATUS_CODE != '200' }}
154154

155+
- name: Sync ODH Notebooks
156+
if: ${{ env.SDK_RELEASE_STATUS_CODE == '200' }}
157+
run: |
158+
gh workflow run codeflare-sdk-release-sync.yml --repo github.com/opendatahub-io/notebooks --ref ${{ github.ref }} --field codeflare_sdk_release_version=${{ github.event.inputs.codeflare-sdk-version }} --field branch=main
159+
env:
160+
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
161+
shell: bash
162+
155163
release-codeflare-operator:
156164
needs: [release-mcad, release-instascale, release-codeflare-sdk]
157165
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)