Larry_springboot
NNovu
•Created by Larry_springboot on 2/28/2025 in #💬│support
Github Action
I have everything running but not really because when I access the dashboard of my self hosted novu it shows everything is fine but under workflows there is nothing though there is a workflow that I strill trigger using the endpoint
http://ip:4200/studio/onboarding/preview
. Which sends an email like the way I wanted though shows no workflow under workflow production page.
That is beside the issue.
Now I want a github action to happen on the created app. My API URL is fine and can even check it's health status in the browser with http://ip:3000/v1/health-check
but in the github action file here
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 }}
with production secret that I used to create the app now gives an error of 404
Run novuhq/actions-novu-sync@v2
with:
secret-key: ***
bridge-url: ***
api-url: ***
Error: Request failed with status code 400
The api-url am using is http://66.94.116.241:3000
and bridge-url is the same since it is accessible also outside the server. Someone to help here to help get past this2 replies