vibecode.wiki
RU EN
~/wiki / interfeis-i-sayty / как-создать-сайт-только-через-промты

How to Create a Website Only through Prompts in Codex App + Automatic Deployment on Cloudflare Pages

◷ 4 min read 2/13/2026

Next step

Open the bot or continue inside this section.

$ cd section/ $ open @mmorecil_bot

Article -> plan in AI

Paste this article URL into any AI and get an implementation plan for your project.

Read this article: https://vibecode.morecil.ru/en/interfeis-i-sayty/%D0%BA%D0%B0%D0%BA-%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C-%D1%81%D0%B0%D0%B9%D1%82-%D1%82%D0%BE%D0%BB%D1%8C%D0%BA%D0%BE-%D1%87%D0%B5%D1%80%D0%B5%D0%B7-%D0%BF%D1%80%D0%BE%D0%BC%D1%82%D1%8B/ Work in my current project context. Create an implementation plan for this stack: 1) what to change 2) which files to edit 3) risks and typical mistakes 4) how to verify everything works If there are options, provide "quick" and "production-ready".
How to use
  1. Copy this prompt and send it to your AI chat.
  2. Attach your project or open the repository folder in the AI tool.
  3. Ask for file-level changes, risks, and a quick verification checklist.

You will learn how to make a site (Next.js, Astro, Vite, HTML – any) ** only prompts in Codex App**. Codex will create a repository on GitHub, configure Cloudflare Pages, and enable automatic deployment.

Skill is called Cloudflare Deploy. It operates through wrangler and does not have a separate field for the token. Authentication is done once.

Step 1. Create tokens (once)

GitHub Personal Access Token

  1. github.com → Settings → Developer settings → Personal access tokens → Tokens (classic)
  2. Generate new token (classic)
  3. Title: Codex Deploy
  4. Checks: repo, workflow, delete_repo
  5. Copy the token (it will appear only once).

Cloudflare API Token*

  1. cloudflare.com → My Profile → API Tokens
  2. Create Token → Use template → Edit Cloudflare Workers and Pages
  3. Permissions:
    • Account → Cloudflare Pages → Edit
    • Account: Workers → Edit
  4. Account Resources > Your Account
  5. Create Token → copy the string (starts with cf-).

Step 2. First Skill Launch (Once, 30-60 Seconds)

Open the Codex App and write:

Prepare Cloudflare Deploy skill. Cloudflare API Token: cf-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX I have GitHub PAT: ghp_XXXXXXXXXXXXXXXX Run a wrangler login with this token and save authentication.

Codex:

  • keep tokens in a secure skill environment
  • perform wrangler whoami
  • confirm that everything works

From this point on, the skill will work automatically with each next prompt.

Step 3. Create a website (one prompt)

We're writing a new project

Create a modern one-page portfolio site on Next.js 15. Dark theme, neon accents cyan and magenta. Hero with animated glowing cube, sections About Me, Projects (3 cards), Contacts. Use Tailwind + Framer Motion. Add README.md and .gitignore.

Codex will create a project and run it locally.

Step 4. GitHub

Prompt:

Initialize git. Create a мой-сайт public repository on GitHub. Make the first commit "Initial commit by Codex" and start.

Codex will do it all by itself.

Step 5. Deployment on Cloudflare Pages + Automatic Deployment

The main prompt (most important):

Use Consolidated Cloudflare Deploy skill. Deploy this Next.js project on Cloudflare Pages. Name the project мой-сайт. Connect the GitHub repository you just created. Turn on the automatic deploy at each push to the main. Use the right settings for Next.js (build command and output directory). Launch the first depot.

Codex:

  • create a Pages Project
  • plug-in
  • builder
  • make the first

In 40-90 seconds, it will give the link https://мой-сайт.pages.dev.

Step 6. Further work (complete automation)

Now it works like this:

Write one prompt → Codex:

  1. Changing the code
  2. Makes a commit
  3. Fly into the main
  4. Cloudflare will automatically redesign the site

Examples of prompts:

  • “Make the glowing cube in hero rotate and change color from cyan to magenta.”
  • “Add a feedback form that sends a message to Telegram”
  • “Add a dark/light theme with saving”

If you ask for escalated permissions

Sometimes there is a message:

The deploy needs escalated network access. Want me to proceed?

Answer: Yes, do it with escalated permissions.