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 toupdateInstead
- It creates a Git
post-receive
hook that callsrefresh
Note: None of these actions are ran if the environment is not Glitch
Installation
npm install --save glitch-deploy-helper
Usage
const init = { await }
Now, just push to the Glitch Git repo of your project, and your project will automatically restart.