ahmed
ahmed
NNovu
Created by ahmed on 12/8/2024 in #💬│support
Github action sync issue
Hello there ! When I try to push my code first workflows to production env using github action I have 400 error with no message. I need to sync 2 apps which re created in 2 different organizations in novu cloud. I checked the secret keys and I don't think the problem is an authentication issue
name: Sync novu workflows

on:
workflow_dispatch:

env:
APP1_BRIDGE_URL: https:***
APP2_BRIDGE_URL: https:***

jobs:
sync-novu:
runs-on: ubuntu-latest
strategy:
matrix:
package-name: ['APP1', 'APP2']
steps:
- name: Sync novu workflows
uses: novuhq/actions-novu-sync@v2
with:
secret-key: ${{ secrets[format('{0}_SECRET_KEY', matrix.package-name)] }}
bridge-url: ${{ env[format('{0}_BRIDGE_URL', matrix.package-name)] }}
api-url: https://api.novu.co
name: Sync novu workflows

on:
workflow_dispatch:

env:
APP1_BRIDGE_URL: https:***
APP2_BRIDGE_URL: https:***

jobs:
sync-novu:
runs-on: ubuntu-latest
strategy:
matrix:
package-name: ['APP1', 'APP2']
steps:
- name: Sync novu workflows
uses: novuhq/actions-novu-sync@v2
with:
secret-key: ${{ secrets[format('{0}_SECRET_KEY', matrix.package-name)] }}
bridge-url: ${{ env[format('{0}_BRIDGE_URL', matrix.package-name)] }}
api-url: https://api.novu.co
8 replies