deployment

Automate PHP application deployment to production with Git or rsync.

2|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/calevans/staticforge --skill deployment-calevans
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment
Source: https://github.com/calevans/staticforge/tree/main/.opencode/skills/deployment
Command: npx skills add https://github.com/calevans/staticforge --skill deployment-calevans

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires composer, sqlite3, nginx, php8.5-fpm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of deploying the stock-picking application to a production environment, ensuring a smooth and reliable release.

Core Features & Use Cases

  • Automated Deployment Pipeline: Executes a series of steps from backup to service restart.
  • Environment Configuration: Guides the setup of production-specific environment variables and file permissions.
  • Rollback Strategy: Includes a procedure for reverting to a previous version if deployment fails.
  • Use Case: When a new version of the stock-picking application is ready, use this Skill to safely deploy it to the live server, minimizing downtime and risk.

Quick Start

Execute the deployment skill to deploy the application to production.

Frequently Asked Questions about deployment

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

FAQPage Schema
How do I automate PHP application deployment to a production server?

Automating PHP application deployment to a production server involves orchestrating pre-deployment checks, code deployment via Git or rsync, dependency installation, database migrations, cache clearing, and service restarts to minimize downtime and risk.

What is the best way to handle rollback procedures when a production deployment fails?

Handling rollback procedures when a production deployment fails requires reverting the application to a previous version, ensuring service continuity by verifying post-deployment stability after the reversion.

Can I use this deployment automation with nginx and php8.5-fpm?

Yes, you can use this deployment automation with nginx and php8.5-fpm, as it supports these dependencies along with composer and sqlite3 to configure production environments, adjust file permissions, and restart services.

How do I set up environment variables and file permissions before deploying to production?

Setting up environment variables and file permissions before deploying to production requires configuring production-specific settings and adjusting access rights during the pre-deployment checks phase of the automated pipeline.

What steps are needed to clear cache and run database migrations during a release?

Clearing cache and running database migrations during a release are automated steps executed after code deployment and dependency installation, ensuring the application schema is updated and optimized before service restarts.