glitch-deploy-helper
v1.0.4
Published
A simple Node.js library to help auto-deploying from Git on Glitch
Downloads
1
Readme
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 } = 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.