Cloud deploy gcp aws

From makifbaysal/tasktrooper · View interactive version

Cloud deploy gcp aws is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when a web/frontend app needs a cloud deploy - GitHub Actions to Cloud Run/ECS for SSR or GCS+CDN/Firebase and S3+CloudFront for static, with build-time env and cache invalidation

How to use this skill

Skill file

Cloud Deploy — GCP & AWS (web)

Overview

A web deploy's shape follows the render mode, not the framework. Server-rendered (Next.js SSR, SvelteKit node) ships a container exactly like a backend service; a static export (Next.js output: 'export', Vite build) ships files to object storage behind a CDN. Pick the mode first. Read [[ci-cd-pipeline-authoring]] for the workflow naming/dispatch contract this fills in.

Core principle: Match the deploy target to the render mode, bake public config at build time, and invalidate the CDN on every deploy — a stale edge cache is the most common "I deployed but nothing changed."

Pick the target, then copy the boilerplate

search_boilerplate_catalog → deploy gcp web / deploy aws web. Copy its deploy-stage/preprod/prod.yml into .github/workflows/ as <id>-deploy-<env>.yml, then set the README's repo/environment vars. OIDC auth, no keys.

SSR (containerized)

Build the image, push it, then deploy it:

Use this path when the app has server components, API routes, or ISR.

Static (object storage + CDN)

Build-time env

Health-check gate

End the job by fetching the deployed URL (SSR health route, or the static site's index.html) and fail on non-200 / missing marker. A failing smoke step fails the deploy — the release goes failed and the release engineer rolls it back; only finish_release moves a task to released.

Common Mistakes

Red Flags

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.