Skip to content

Express middleware for enabling continuous deployment from github on modulus.io

License

Notifications You must be signed in to change notification settings

upstage/continuous-deployment-modulus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

continuous-deployment-modulus NPM version

Express middleware for enabling continuous deployment from github on modulus.io

Getting Started

npm install continuous-deployment-modulus --save

Add to your express application before routing...

var cd = require('continuous-deployment-modulus');
app.configure(function() {
  app.use('/deploy', cd());
});

Set up your environment variables in your modulus project...

TODO:

Environment Variables

###MODULUS_PROJECT

  • The name of your modulus project that will get deployed

###MODULUS_USER

  • The username you use when logging into modulus. If you use a github login, then this is your github username

###MODULUS_PWD

  • The password you use when logging into modulus. If you use a github login, then this is your github password

###USE_GITHUB

  • If you use a github login, set this to true

###GITHUB_TOKEN

  • This is the personal github token you need to create to give the middleware access to pull from your repo. TODO - add instructions on setting this up.

About

Express middleware for enabling continuous deployment from github on modulus.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published