getlarge / nx-heroku

Nx plugin to quickly deploy and promote your Nx apps on Heroku
MIT License
3 stars 0 forks source link

fix: automatic webhook creation makes duplicate #11

Closed getlarge closed 1 year ago

getlarge commented 1 year ago

Each time deployment executor is triggered a new webhook will be registered. => improve check and comparison of existing hooks

—- this is due to table parsing that seems to go wrong:


[
{
    id: '',
    url: '────────────────────────────────────',
    include: '─────────────────────────────────────────────────────────────────────────────────────────',
    level: '──────────────────────────'
  },
  {
    id: '',
    url: '1965e28c-b99f-4c14-a64c-582efc7667ae',
    include: 'https://j9isydv62i.execute-api.eu-central-1.amazonaws.com/default/sendNotificationToSlack',
    level: 'api:build,api:release,dyno'
  },
  …
  ]