Directus module for triggering remote hooks
Go to file
dependabot[bot] c7fb0430a1
Bump browserslist from 4.13.0 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.13.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.13.0...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 16:40:08 +00:00
src code 2020-07-24 23:59:19 +02:00
.env code 2020-07-24 23:59:19 +02:00
.gitignore pack 2020-07-25 00:04:21 +02:00
README.md Update README.md 2021-03-19 10:38:24 +01:00
docker-compose.yml code 2020-07-24 23:59:19 +02:00
package-lock.json Bump browserslist from 4.13.0 to 4.16.6 2021-05-26 16:40:08 +00:00
package.json clean package 2020-07-25 00:06:42 +02:00

README.md

Directus Remote Trigger

Trigger remote urls in the Directus admin view.

Screenshot

⚠️ As of Directus 9 this is mostly solved natively and you should use the built in webhooks

Motivation

I needed a way to trigger my Vercel build as the native hooks support in the settings page would require a hook for each crud operation on each collection.

Getting Started 🚀

  1. Download the latest release
  2. Unzip unzip remote-trigger.zip
  3. Add it to the docker config
version: '3.7'

services:
  mysql:
    ...

  directus:
    image: directus/directus:v8-apache
    volumes:
      - ./remote-trigger:/var/directus/public/extensions/custom/modules/remote-trigger

Local

# Start the dev script
npm run dev

# Start
docker-compose up -d

# If you have not initialized the DB yet.
docker-compose run --rm directus install --email hi@example.org --password h4x0r

# http://localhost