1.0.4 • Published 4 years ago

glitch-deploy-helper v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago