0.0.0-development.0 • Published 4 years ago

@danieltamkin/relay v0.0.0-development.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
4 years ago

Relay 🏸

Relay is a tool to enable triggering github actions when Shopify webhooks fire. Debounced so you don't set your Action runner on fire. You can change the debounce and many more setting.

Prerequisites

  • Node v12.18.0^ & a Shopify store to setup webhooks.
  • Read the available settings & task flow to understand how this works.

Installing:

Install dependencies: yarn install

Setup variables

You can either use a .env file or pass variables in manually through

    PORT: process.env.PORT || '3000',
    DELAY: process.env.DELAY || '500',
    SILENT: process.env.SILENT || false,
    SHOPIFY_TOKEN: process.env.SHOPIFY_TOKEN,
    GITHUB_TOKEN: process.env.GITHUB_TOKEN,
    GITHUB_REPO: process.env.GITHUB_REPO,
    GITHUB_WORKFLOW: process.env.GITHUB_WORKFLOW,