name: Deploy Workflow State prodworkflow
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4 # Ensures the workflow syncs the latest code
- name: Sync State to Novu
uses: novuhq/actions-novu-sync@v2
with:
# API Secret Key for Novu Authentication (Stored in GitHub Secrets)
secret-key: ${{ secrets.NOVU_SECRET_KEY }}
# Novu Bridge URL (Make sure it's reachable)
bridge-url: ${{ secrets.NOVU_BRIDGE_URL }}
# Novu API URL (Should match your running Novu instance)
api-url: ${{ secrets.NOVU_API_URL }}
name: Deploy Workflow State prodworkflow
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4 # Ensures the workflow syncs the latest code
- name: Sync State to Novu
uses: novuhq/actions-novu-sync@v2
with:
# API Secret Key for Novu Authentication (Stored in GitHub Secrets)
secret-key: ${{ secrets.NOVU_SECRET_KEY }}
# Novu Bridge URL (Make sure it's reachable)
bridge-url: ${{ secrets.NOVU_BRIDGE_URL }}
# Novu API URL (Should match your running Novu instance)
api-url: ${{ secrets.NOVU_API_URL }}