1.0.0 • Published 5 months ago
deploymate v1.0.0
DeployMate.js 🚀
A zero-config CI/CD tool to automatically deploy Node.js apps to Vercel, Netlify, or DigitalOcean with a single command.
📦 Use case:
- Deploy full-stack apps automatically
- Git-based versioning with rollback
- Works with Docker, PM2, or serverless platforms
🔹 Features:
- ✅ Auto-detects project type (React, Next.js, Express, and Static HTML)
- ✅ Deploys to multiple cloud providers
- ✅ Supports rollback & environment variables
Installation
npm install -g deploymate
Usage
- Create a
deploy.config.json
file in the root of your project:
{
"provider": "vercel", // Change to "netlify" or "digitalocean" as needed
"envVariables": {
"vercel": "VERCEL_TOKEN",
"netlify": "NETLIFY_TOKEN",
"digitalocean": "DIGITALOCEAN_TOKEN"
}
}
- Create a
.env
file in the root of your project with your deployment tokens:
VERCEL_TOKEN=your_vercel_token
NETLIFY_TOKEN=your_netlify_token
DIGITALOCEAN_TOKEN=your_digitalocean_token
- Ensure
.env
is added to.gitignore
to keep your tokens secure:
.vercel
.env
node_modules
- Run the deploy command:
deploymate
Security
- Uses minimal dependencies for better maintenance and security.
- Ensure your deployment tokens and secrets are stored securely in the
.env
file. - The names of the environment variables can be specified in the
deploy.config.json
file, allowing flexibility for users to name their environment variables as they prefer.
1.0.0
5 months ago