static-site-deployment

Deploy static sites to SiteGround via GitHub Actions with SSH setup.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill static-site-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: static-site-deployment
Source: https://github.com/ai-enhanced-engineer/aiee-skills/tree/main/skills/static-site-deployment
Command: npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill static-site-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, github, ssh, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Simplifies the process of deploying static sites to SiteGround using GitHub Actions, including SSH key setup, Actions secrets configuration, and social preview debugging.

Core Features & Use Cases

  • SSH Key Setup: Handles SiteGround SSH key import for GitHub Actions without trailing comments or paste-injected newlines.
  • Actions Secrets Configuration: Automates setting up necessary secrets like SSH credentials and non-standard ports.
  • OG Image Pipeline: Offers a step-by-step guide for creating OG images with precise dimensions and without build steps.
  • Social Preview Debugging: Provides solutions for Facebook scraper issues like cache lifetimes and OG image display.
  • robots.txt Management: Includes guidance for social scraper allowlisting in SiteGround WAF settings.
  • SRI Integrity Checks: Explains the importance of re-computing hash values when updating SRI scripts and why version pinning is critical.
  • Page Removal and URL Changes: Outlines the process of handling URL changes with a 301 redirect stub for SEO.

Quick Start

Deploy your static site to SiteGround by executing the deploy-to-siteground script within the skill directory.

Frequently Asked Questions about static-site-deployment

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

FAQPage Schema
How do I deploy a static site to SiteGround using GitHub Actions?

Deploy a static site to SiteGround using GitHub Actions by configuring SSH keys and Actions secrets, then executing the deployment script. This workflow handles non-standard ports and SSH credential setup without requiring a build step.

Why are my OG images not displaying in Facebook social previews after deployment?

OG image display issues in Facebook social previews often stem from scraper cache lifetimes or incorrect image dimensions. Debug social previews by verifying precise OG image dimensions and managing social scraper allowlists in SiteGround WAF settings.

How do I configure SSH keys for SiteGround in GitHub Actions without newline errors?

Configure SSH keys for SiteGround in GitHub Actions by importing the key without trailing comments or paste-injected newlines. Store the credentials and non-standard SSH port securely using GitHub Actions secrets.

Do I need a build step to deploy static sites to SiteGround with this workflow?

No build step is required to deploy static sites to SiteGround using this GitHub Actions workflow. The deployment process directly handles SSH setup and file transfer, simplifying the pipeline for pre-built static assets.

How do I manage robots.txt and SiteGround WAF settings for social media scrapers?

Manage robots.txt and SiteGround WAF settings by adding social scrapers to the allowlist. This ensures platforms like Facebook can access OG images and prevents the WAF from blocking social media debugging requests.

What is the best way to handle URL changes for SEO when removing static site pages?

Handle URL changes for SEO by implementing a 301 redirect stub for removed pages. Additionally, re-compute SRI hash values when updating SRI scripts and use version pinning to maintain integrity checks.