deploy-website

$npx mdskill add aAAaqwq/AGI-Super-Team/deploy-website

Deploys bilingual website changes via GitHub PR and Cloud Build.

  • Executes site updates for landing pages, styles, and policy pages.
  • Integrates with GitHub Actions and Cloud Build for automated builds.
  • Validates edits against bilingual requirements before triggering deployment.
  • Merges code through GitHub Pull Requests with co-authored commits.

SKILL.md

.github/skills/deploy-websiteView on GitHub ↗
---
name: deploy-website
description: Website deployment via GitHub PR + Cloud Build
---
# Deploy Website

> Updating content on yourcompany.com and deploying via GitHub PR

## When to use

- "update the site", "add to the site"
- "deploy site changes"
- Any changes to yourcompany.com (landing pages, pages, styles)

## Paths

| What | Path |
|------|------|
| Repository | `$WEBSITE_REPO_PATH/` |
| GitHub | `https://github.com/your-github-org/your-website` |
| Styles | `$WEBSITE_REPO_PATH/styles.css` |

## Site structure

Bilingual site (EN + UK). **Always update both versions.**

| Page | EN | UK |
|------|----|----|
| Home | `index.html` | `uk/index.html` |
| Data Labeling | `data-labeling/index.html` | `uk/data-labeling/index.html` |
| AI Integration | `ai-integration/index.html` | `uk/ai-integration/index.html` |
| Agents | `agents/index.html` | `uk/agents/index.html` |
| Schedule Agent | `schedule-agent/index.html` | `uk/schedule-agent/index.html` |
| Agent Card | `schedule-agent/card/index.html` | `uk/schedule-agent/card/index.html` |
| Privacy | `privacy-policy/index.html` | `uk/privacy-policy/index.html` |
| Terms | `terms/index.html` | `uk/terms/index.html` |

## How to execute

### Step 1: Make changes

Edit HTML files. **Must update both EN + UK versions.**

### Step 2: PR + Merge

```bash
cd $WEBSITE_REPO_PATH
git checkout -b feature/change-description
git add <changed files>
git commit -m "Change description

Co-Authored-By: Claude <[email protected]>"
git push -u origin feature/change-description
gh pr create --title "Change description" --body "..."
gh pr merge <PR_NUMBER> --squash --delete-branch
git checkout main && git pull --ff-only
```

### Step 3: Deploy (automatic)

Cloud Build (under `[email protected]`) triggers automatically on merge to main.
Changes appear on the site within 1-5 minutes.

### Step 4: Verification

```
WebFetch https://www.yourcompany.com/<page>?v=<timestamp>
```

**IMPORTANT:** CDN caches for up to 1 hour. To check the update immediately, add `?v=<number>` to the URL. Without this, WebFetch may show the old cached version.

## IMPORTANT: Do not touch GCP

- **DO NOT use** `gsutil`, `gcloud builds`, or other GCP commands
- GCP project is under `[email protected]`, local gcloud is under `[email protected]` -- no permissions
- Deployment happens **only through GitHub PR → merge to main** -- Cloud Build picks it up automatically

## Stack

- Static HTML + CSS + Vanilla JavaScript
- Google Fonts (Montserrat)
- Lucide Icons (unpkg CDN)
- Google Analytics (GA4)
- Hosting: GCS + Cloud Load Balancer + CDN

## Related skills

- `code-review` -- review changes before PR

More from aAAaqwq/AGI-Super-Team

SkillDescription
a-fund-monitor监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。
add-leadAdd company/person/relationship to CRM
ads-agentAI-агент для управления Facebook рекламой. Вызывай для анализа, оптимизации, создания кампаний и отчётов.
afrexai-compliance-auditRun internal compliance audits against major governance and security
afrexai-personal-financeComplete personal finance system — budgeting, debt payoff, investing, tax optimization, net worth tracking, and financial independence planning. Use when managing money, building wealth, paying off debt, planning retirement, or optimizing taxes. Zero dependencies.
after-salesUse when managing post-purchase experience, building customer loyalty, or increasing repeat purchases
agent-contactsAI agent contacts — add, list, remove MCP contacts. Use when someone gives an agent URL, or when you need to view/remove contacts.
agent-model-switcher批量查看和切换子 agent 的模型配置,用于统一调整多 agent 的 provider/model 设置。
agent-patternsFormat SPAWN REQUEST messages to launch parallel agents, generate structured agent status reports, and define communication protocols within the sprint system. Use when the user needs to coordinate multiple agents, format spawn requests, produce agent reports, or establish inter-agent communication patterns.
agent-task-confirmUse when confirming whether a dispatched agent task was actually received, activated, and progressing after sessions_send or other task handoff actions.