Skip to content

marvinroger/glitch-deploy-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple Node.js library to help auto-deploying from Git on Glitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published