diff --git a/.github/workflows/dev-deploy-api.yml b/.github/workflows/dev-deploy-api.yml index efdd5086659..85b09912466 100644 --- a/.github/workflows/dev-deploy-api.yml +++ b/.github/workflows/dev-deploy-api.yml @@ -132,6 +132,19 @@ jobs: ignore_empty: true ignore_missing: true url_prefix: '~' + # 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_INTERNAL_SECRET_KEY }} + + # The publicly available endpoint hosting the bridge application + # where notification entities (eg. workflows, topics) are defined. + # Required. + bridge-url: https://api.novu-staging.co/v1/api/novu newrelic: runs-on: ubuntu-latest diff --git a/.github/workflows/prod-deploy-api.yml b/.github/workflows/prod-deploy-api.yml index 0aca04406d7..2d80ed3379f 100644 --- a/.github/workflows/prod-deploy-api.yml +++ b/.github/workflows/prod-deploy-api.yml @@ -117,6 +117,19 @@ jobs: url: ${{ secrets.API_DOCS_BUILD_WEBHOOK }} method: 'POST' + - 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_INTERNAL_SECRET_KEY }} + + # The publicly available endpoint hosting the bridge application + # where notification entities (eg. workflows, topics) are defined. + # Required. + bridge-url: https://api.novu.co/v1/api/novu + newrelic: runs-on: ubuntu-latest name: New Relic Deploy