Skip to content

Commit a365ad5

Browse files
committed
chore(core): added release automation for SaaS example
1 parent 99d762b commit a365ad5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/redeploy-eventcatalog-examples.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@ jobs:
3434
- name: Redeploy EventCatalog Demo (FlowMart) Example Catalog
3535
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
3636
env:
37-
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_DEMO_FLOWMART_CATALOG_URL }}
37+
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_DEMO_FLOWMART_CATALOG_URL }}
38+
redeploy-saas:
39+
runs-on: ubuntu-latest
40+
if: >
41+
github.event.workflow_run.conclusion == 'success' &&
42+
startsWith(github.event.workflow_run.head_commit.message, 'Version Packages')
43+
steps:
44+
- name: Redeploy EventCatalog Demo (SaaS) Example Catalog
45+
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
46+
env:
47+
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_SAAS_EXAMPLE_CATALOG_URL }}

0 commit comments

Comments
 (0)