• Fisher documentation
  • Next page: The configuration file
  • Previous page
  • Source code
  • Report an issue
  • Home page
  • Introduction
  • Why you should use Fisher
  • Installing Fisher
  • Tutorials
  • Automatic deploy from GitHub
  • Send emails when scripts fails
  • Features
  • Live reloading
  • Monitoring with status hooks
  • Monitoring with the health endpoint
  • Rate limits
  • Third-party providers
  • Documentation
  • The configuration file
  • Configuration comments
  • Scripts execution context
  • Supported providers
  • Standalone provider
  • GitHub provider
  • GitLab provider
  • Other information
  • Changelog

Introduction to providers

If you want to integrate your scripts with third-party websites and services, providers are the way to go. They allow you to filter only the requests coming from them, and they also give your scripts more information specific to that provider.

Fisher has currently native support for these providers:

  • Standalone - for scripts not tied to a specific third-party website
  • GitHub - for webhooks coming from GitHub.com
  • GitLab - for webhooks coming from a GitLab instance

Applying a provider to a script

In order to apply a provider to a script, you need to add its configuration comment to the top of the script. After Fisher is started/reloaded, it will start filtering requests according to that provider. You can also add multiple providers to a single script, and they will be validated according to the ordering they're wrote in the script.

  • Created by Pietro Albini