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