Skip to content

Redeploy EventCatalog Examples on core release #1

Redeploy EventCatalog Examples on core release

Redeploy EventCatalog Examples on core release #1

name: Redeploy EventCatalog Examples on core release
on:
workflow_run:
workflows: ["Release"]
types:
- completed
jobs:
redeploy-finance:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'Version Packages')
steps:
- name: Redeploy EventCatalog Finance Example Catalog
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
env:
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_FINANCE_EXAMPLE_CATALOG_URL }}
redeploy-healthcare:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'Version Packages')
steps:
- name: Redeploy EventCatalog Healthcare Example Catalog
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
env:
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_HEALTHCARE_EXAMPLE_CATALOG_URL }}
redeploy-demo:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'Version Packages')
steps:
- name: Redeploy EventCatalog Demo (FlowMart) Example Catalog
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
env:
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_DEMO_FLOWMART_CATALOG_URL }}
redeploy-saas:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_commit.message, 'Version Packages')
steps:
- name: Redeploy EventCatalog Demo (SaaS) Example Catalog
run: curl -f -X POST "$VERCEL_DEPLOY_HOOK_URL"
env:
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_SAAS_EXAMPLE_CATALOG_URL }}