Skip to content

TalaikisInc/postreceive_hook

Repository files navigation

Talaikis Ltd.

Post-receive Hook

Features

  • For Node.js projects.
  • Will not allow commits/ pushes with failing (mocha + chai) tests (see package.json).
  • Will allow one-click deployments to remote servers after initial setup.

One click deployments

Initial example:

  1. Configure passwordless ssh login to remote server.
  2. Edit .env and ./.scripts.
  3. Then:
chmod +x pre_local.sh
./pre_local.sh
  1. Then any push will be:
npm run deploy

Other commands

# Bundle sizes:
npm run analyze
# Comprehensive load test:
npm run loadtest
# Lighthouse metrics
npm run metrics
# Security
npm run scan

About

Post receive hook for Node.js projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published