Directus module for triggering remote hooks
Go to file
2020-07-24 23:59:20 +02:00
src code 2020-07-24 23:59:19 +02:00
.env code 2020-07-24 23:59:19 +02:00
.gitignore code 2020-07-24 23:59:19 +02:00
docker-compose.yml code 2020-07-24 23:59:19 +02:00
package-lock.json code 2020-07-24 23:59:19 +02:00
package.json code 2020-07-24 23:59:19 +02:00
readme.md Update readme.md 2020-07-24 23:59:05 +02:00

Directus Remote Trigger

Trigger remote urls in the Directus admin view.

Screenshot

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
  3. Add it to the docker config
version: '3.7'

services:
  mysql:
    ...

  directus:
    image: directus/directus:v8-apache
    volumes:
      - ./dist:/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