1.0.0 • Published 9 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 deploymateUsage
- Create a 
deploy.config.jsonfile 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 
.envfile 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 
.envis added to.gitignoreto keep your tokens secure: 
.vercel
.env
node_modules- Run the deploy command:
 
deploymateSecurity
- Uses minimal dependencies for better maintenance and security.
 - Ensure your deployment tokens and secrets are stored securely in the 
.envfile. - The names of the environment variables can be specified in the 
deploy.config.jsonfile, allowing flexibility for users to name their environment variables as they prefer. 
1.0.0
9 months ago