スキル一覧に戻る
MenadBt

deploy-component

by MenadBt

0🍴 0📅 2026年1月8日
GitHubで見るManusで実行

SKILL.md


name: deploy-component description: Deploys a component (frontend, backend, or landing) using SST. Use when deploying to AWS, pushing to dev or prod environments. allowed-tools: Read, Bash(npx sst:), Bash(cd:)

Deploy Component

Deploys individual components (frontend, backend, landing) using SST to AWS.

Prerequisites

  1. AWS credentials configured
  2. SST secrets set for the stage
  3. For backend: ECR image must be built (CI/CD handles this)

Deployment Commands

Backend

cd back && npx sst deploy --stage dev
cd back && npx sst deploy --stage prod

Frontend

cd front && npx sst deploy --stage dev
cd front && npx sst deploy --stage prod

Landing

cd landing && npx sst deploy --stage dev
cd landing && npx sst deploy --stage prod

Stages

StageBranchDomain Pattern
devdevelop*-dev.{domain}
prodmain*.{domain}

Domain Structure

ComponentDevProd
Landingdev.questloghq.comquestloghq.com
Frontendapp-dev.questloghq.comapp.questloghq.com
Backendapi-dev.questloghq.comapi.questloghq.com

View Deployed Resources

npx sst console --stage dev

Common Issues

Missing Secrets

# Check if secrets are set
npx sst secret list --stage dev

# Set missing secret
npx sst secret set SecretName "value" --stage dev

Route 53 Record Exists

The SST configs use allowOverwrite: true / override: true for idempotent deploys.

Build Errors (Frontend)

Ensure all environment variables are set:

npx sst secret set ClerkPublishableKey "pk_..." --stage dev
npx sst secret set ClerkSecretKey "sk_..." --stage dev

CI/CD

Deployments are typically handled by GitHub Actions:

  • Backend: .github/workflows/deploy-backend.yml
  • Frontend: .github/workflows/deploy-frontend.yml
  • Landing: .github/workflows/deploy-landing.yml

Manual deployment should only be needed for debugging or emergency fixes.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です