skill-deploy

Deploy applications to EC2 instances via SSH with git pull, systemd restarts, and health checks.

24|26|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/hasna/skills --skill skill-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-deploy
Source: https://github.com/hasna/skills/tree/main/skills/skill-deploy
Command: npx skills add https://github.com/hasna/skills --skill skill-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the deployment process to EC2 instances, reducing manual effort and potential errors by automating code updates, service restarts, and health checks.

Core Features & Use Cases

  • Automated Deployments: Push the latest code to your servers with a single command.
  • Service Management: Automatically restart systemd services after deployment.
  • Health Checks: Verify your application is running correctly post-deployment.
  • Use Case: Deploying a new feature to your production server involves pulling the latest code, restarting the application service, and then running a health check to ensure everything is operational. This Skill handles all these steps automatically.

Quick Start

Deploy the latest code to the 'lab-mcp' host.

Frequently Asked Questions about skill-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate EC2 deployments with git pull and systemd service restarts?

Automating EC2 deployments involves executing git pull commands over SSH to update application code and restarting systemd services automatically. This Skill manages multi-host parallel execution and runs post-deployment health checks to verify application availability.

What do I need to set up before automating deployments to my EC2 instances?

Before automating deployments, you need SSH access to your EC2 instances and configured host entries defined in a hosts file. These prerequisites allow the automation script to connect securely and execute deployment commands across multiple servers.

Can I deploy code to multiple EC2 hosts at the same time?

Yes, you can deploy code to multiple EC2 hosts simultaneously using parallel execution. This feature distributes the git pull, systemd service restart, and health check processes across all configured hosts for faster deployments.

How do health checks work after an EC2 deployment?

Health checks after an EC2 deployment verify that your application is running correctly once the code updates and systemd service restarts complete. They confirm server availability and operational status across your configured environments.

Does this deployment automation support both development and production environments?

Yes, this deployment automation supports both development and production environments. It provides verbose logging to track deployment processes, ensuring transparency and debugging capability across different infrastructure stages.