glitch-deploy-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Glitch deploy helper

This is a simple Node.js library meant to be ran on Glitch.

It does two things:

  • It sets the receive.denyCurrentBranch Git config to updateInstead
  • It creates a Git post-receive hook that calls refresh

Note: None of these actions are ran if the environment is not Glitch

Installation

npm install --save glitch-deploy-helper

Usage

const { init } = require('glitch-deploy-helper')
 
async function main() {
  await init()
}
 
main()

Now, just push to the Glitch Git repo of your project, and your project will automatically restart.

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i glitch-deploy-helper

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

2.71 kB

Total Files

4

Last publish

Collaborators

  • marvinroger