Skip to content

HDeployFrontend Deployment Automation

Lightweight, interactive config wizard, SSH upload — deploy your frontend project with a single command · Multi-env / Cluster / Backup / Rollback / DingTalk

HDeploy

🚀 Deploy in Two Steps

bash
# Step 1: Initialize config in your project root
hdeploy init

# Step 2: Deploy with one command
hdeploy deploy -m prod

⚡ Full Deployment Pipeline, Under Control

HDeploy automatically executes the following tasks in order:

1 Print deploy info (project, environment, server)
2 Run build script (npm run build)
3 Compress dist directory to tar.gz
4 Connect via SSH
5 Backup current remote files optional
6 Delete old remote files optional
7 Send DingTalk start notification optional
8 Upload archive (with real-time progress)
9 Extract files on the server
10 Close SSH connection
11 Send DingTalk completion notification optional
12 Open preview URL in browser optional

🌟 Why HDeploy?

If you're a frontend developer, you've probably dealt with:

  • Manually uploading files via FTP / SFTP after every build
  • CI/CD pipelines that are complex to configure and maintain
  • Forgetting which deploy command to use for which environment
  • No easy way to roll back when something breaks in production

HDeploy's goal is simple:

Give frontend developers one command to deploy safely and quickly to any server.

📦 Works With Any Frontend Framework

As long as your project outputs static files, HDeploy can deploy it:

  • Vue 2 / 3 (Vite / Webpack)
  • React (CRA / Next.js static export)
  • Angular
  • Nuxt static generation
  • Any Vite-built project
  • Plain HTML / CSS / JS

📦 NPM Package | 🔗 GitHub | 📖 Quick Start

Released under the MIT License.