Skip to content

A plugin to run arbitrary commands on any lifecycle event in serverless

Notifications You must be signed in to change notification settings

uswitch/serverless-hooks-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Hooks Plugin

How to use

Install from npm

  1. Ensure your project has a valid package.json.
  2. Run npm install --save serverless-hooks-plugin.
  3. Add serverless-hooks-plugin to the list of plugins in serverless.yml. The plugins list is an array at the root level (an example serverless.yml is included in this project).
  4. Add an array of hooks to be used as per examples, at custom: hooks.

Local installation (not recommended)

  1. Copy serverless-hooks-plugin.js into .serverless-plugins in the serverless project. You may need to create this folder.
  2. Add serverless-hooks-plugin to the list of plugins in serverless.yml. The plugins list is an array at the root level (an example serverless.yml is included in this project).
  3. Add an array of hooks to be used as per examples, at custom: hooks.

About

A plugin to run arbitrary commands on any lifecycle event in serverless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published