Redeploy EventCatalog Examples on core release #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |