Learn how to deploy your Novu workflows with our built-in GitHub Action command:
name: Deploy workflow State to Novuon: workflow_dispatch: push: branches: - mainjobs: deploy: runs-on: ubuntu-latest steps: # https://github.com/novuhq/actions-novu-sync - name: Sync State to Novu uses: novuhq/actions-novu-sync@v2 with: # The secret key used to authenticate with Novu Cloud # To get the secret key, go to https://web.novu.co/api-keys. # Required. secret-key: ${{ secrets.NOVU_SECRET_KEY }} # The publicly available endpoint hosting the bridge application # where notification entities (eg. workflows, topics) are defined. # Required. bridge-url: ${{ secrets.NOVU_BRIDGE_URL }} # The Novu Cloud API URL to sync with. # Optional. # Defaults to https://api.novu.co api-url: https://api.novu.co