How to Create a Website Only through Prompts in Codex App + Automatic Deployment on Cloudflare Pages
Next step
Open the bot or continue inside this section.
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
- Copy this prompt and send it to your AI chat.
- Attach your project or open the repository folder in the AI tool.
- 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
- github.com → Settings → Developer settings → Personal access tokens → Tokens (classic)
- Generate new token (classic)
- Title:
Codex Deploy - Checks:
repo,workflow,delete_repo - Copy the token (it will appear only once).
Cloudflare API Token*
- cloudflare.com → My Profile → API Tokens
- Create Token → Use template → Edit Cloudflare Workers and Pages
- Permissions:
- Account → Cloudflare Pages → Edit
- Account: Workers → Edit
- Account Resources > Your Account
- 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-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXI have GitHub PAT:ghp_XXXXXXXXXXXXXXXXRun 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:
- Changing the code
- Makes a commit
- Fly into the main
- 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.