web-publishing-and-deployments

Publish sandbox websites to public URLs via Cloudflare temporary deploys or Vercel permanent hosting.

20.2k|3.4k|Updated Oct 5, 2024
One-click install
npx skills add https://github.com/kortix-ai/suna --skill web-publishing-and-deployments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-publishing-and-deployments
Source: https://github.com/kortix-ai/suna/tree/main/packages/starter/templates/general-knowledge-worker/.kortix/opencode/skills/web-publishing-and-deployments
Command: npx skills add https://github.com/kortix-ai/suna --skill web-publishing-and-deployments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Getting a website or web app built in a sandbox onto a live, shareable URL involves choosing the right hosting path, handling accounts and credentials, and avoiding security mistakes. This Skill guides the full publish decision and execution, from instant no-account previews to permanent production deployments.

Core Features & Use Cases

  • Instant zero-account publishing: Deploy static sites to a live Cloudflare URL using wrangler deploy --temporary, with no login or credentials required, plus a claim URL to keep the site.
  • Permanent hosting on Vercel: Deploy framework apps (Next.js), prebuilt outputs, or any Dockerfile as an autoscaling function using the Vercel CLI or browser-based Vercel Drop.
  • Mandatory pre-publish security review: Run a structured security audit covering dependency vulnerabilities, hardcoded secrets, injection-prone code patterns, and open CORS before anything goes live.
  • Publish guardrails: Enforces never publishing unprompted, honest takedown practices, runtime-dependency checks, and data-persistence disclosure.
  • Use Case: You just built a landing page in the sandbox and want to share it with a colleague. The Skill builds the site, runs the security review, deploys it with wrangler deploy --temporary, and hands you a live URL plus a claim link within one turn.

Quick Start

Ask the agent to publish the site you just built to a live shareable URL, and it will build the project, run the security review, and deploy it.

Frequently Asked Questions about web-publishing-and-deployments

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

FAQPage Schema
How do I deploy a static site to a live URL without an account?

Use `wrangler deploy --assets ./dist --temporary` with an unauthenticated wrangler CLI. It provisions a throwaway Cloudflare account, deploys your static files, and returns a live workers.dev URL plus a claim URL, with no login or API token required.

Cloudflare temporary deploy vs Vercel for hosting a website?

Cloudflare temporary deploys need no account and give an instant URL that expires after about 60 minutes, ideal for quick previews. Vercel requires the user's account but provides permanent hosting, framework builds, custom domains, and Dockerfile support for backends.

Can I deploy a Docker container or backend to Vercel?

Yes, add a Dockerfile.vercel to the project and run `vercel deploy`. Vercel builds the image, stores it in its container registry, and runs it as an autoscaling function, as long as the server listens on the PORT environment variable.

How long does a Cloudflare temporary deployment stay live?

A temporary deployment expires after roughly 60 minutes of inactivity, and each redeploy resets the timer. To keep it permanently, the user opens the claim URL and signs into or creates a Cloudflare account.

What security checks run before publishing a website?

The pre-publish review runs dependency audits (npm audit, pip-audit), greps for hardcoded secrets and API keys, checks for injection-prone patterns like eval and innerHTML, and flags open CORS on mutation endpoints. BLOCK findings must be fixed before publishing.

Why does wrangler deploy --temporary fail with authentication errors?

The --temporary flag only works when wrangler is fully unauthenticated. Run `npx wrangler logout`, unset CLOUDFLARE_API_TOKEN and CLOUDFLARE_API_KEY, and clear cached OAuth credentials in ~/.wrangler before retrying.