mirror of
https://github.com/cupcakearmy/directus-remote-trigger.git
synced 2024-12-21 23:56:28 +00:00
Directus module for triggering remote hooks
71cea00b2b
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
src | ||
.env | ||
.gitignore | ||
docker-compose.yml | ||
package-lock.json | ||
package.json | ||
README.md |
Directus Remote Trigger
Trigger remote urls in the Directus admin view.
⚠️ 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 🚀
- Download the latest release
- Unzip
unzip remote-trigger.zip
- 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