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 this3 Replies
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 thisBridge url should be different than api url? How are you using same port for bridge application? @Larry_springboot ping @Larry_springboot Closing this thread due to inactivity. Feel free to create a new thread if you need more help. Please use #⚓│community-self-host channel for issues related to self-host versions.
Will give it a try and check to see it since I didn't go past that
Though it is a good service all I need to do is now work around the workflow creation
work around the workflow creationIn novu framework, workflow can be created from code through syncing process