From 58f47810e0a78cc378af1ffc94de534ba6c37f0f Mon Sep 17 00:00:00 2001 From: Sergei Bondar Date: Wed, 13 Aug 2025 12:45:10 +0400 Subject: [PATCH 1/5] fix_ci --- .github/workflows/distribute-resources-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/distribute-resources-deploy.yml b/.github/workflows/distribute-resources-deploy.yml index bbbe5a9..bd8ca13 100644 --- a/.github/workflows/distribute-resources-deploy.yml +++ b/.github/workflows/distribute-resources-deploy.yml @@ -45,4 +45,4 @@ jobs: with: apiToken: ${{ secrets.CF_PAGES_TOKEN }} command: | - pages deploy ./app --project-name="developer-playbook" + pages deploy --project-name="developer-playbook" From da5029e5817c0dd5a1c2d3ac6aac4a8b41ce1a50 Mon Sep 17 00:00:00 2001 From: Sergei Bondar Date: Wed, 13 Aug 2025 13:38:14 +0400 Subject: [PATCH 2/5] fix_ci --- .github/workflows/distribute-resources-deploy.yml | 7 +++++-- README.md | 2 +- vercel.json | 6 ------ 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 vercel.json diff --git a/.github/workflows/distribute-resources-deploy.yml b/.github/workflows/distribute-resources-deploy.yml index bd8ca13..ca0966f 100644 --- a/.github/workflows/distribute-resources-deploy.yml +++ b/.github/workflows/distribute-resources-deploy.yml @@ -37,12 +37,15 @@ jobs: - name: Push changes run: git push - - name: Build project + - name: Build project (Next.js) run: npm run build + - name: Generate Cloudflare Pages artifacts (Next on Pages) + run: npx @cloudflare/next-on-pages@latest + - name: Publish to Cloudflare Pages uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_PAGES_TOKEN }} command: | - pages deploy --project-name="developer-playbook" + pages deploy ./.vercel/output/static --project-name="developer-playbook" diff --git a/README.md b/README.md index e12db81..7aefe2c 100644 --- a/README.md +++ b/README.md @@ -49,4 +49,4 @@ category: "Guides" # Powered by -[![Powered by Vercel](https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg "Powered by Vercel")](https://vercel.com/?utm_source=dev-playbook&utm_campaign=oss) +Cloudflare Pages diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 277687f..0000000 --- a/vercel.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "buildCommand": "npm run build", - "outputDirectory": ".next", - "framework": "nextjs", - "installCommand": "npm install" -} \ No newline at end of file From 256485442181199e447c269bcf31acd6c61954ba Mon Sep 17 00:00:00 2001 From: Sergei Bondar Date: Wed, 13 Aug 2025 14:02:11 +0400 Subject: [PATCH 3/5] fix_ci --- .github/workflows/distribute-resources-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/distribute-resources-deploy.yml b/.github/workflows/distribute-resources-deploy.yml index ca0966f..4d5ebba 100644 --- a/.github/workflows/distribute-resources-deploy.yml +++ b/.github/workflows/distribute-resources-deploy.yml @@ -41,7 +41,7 @@ jobs: run: npm run build - name: Generate Cloudflare Pages artifacts (Next on Pages) - run: npx @cloudflare/next-on-pages@latest + run: npx --yes @cloudflare/next-on-pages@latest - name: Publish to Cloudflare Pages uses: cloudflare/wrangler-action@v3 From 4e6c3e43f7d00ca5a7888f53a19e408464ff8422 Mon Sep 17 00:00:00 2001 From: Sergei Bondar Date: Wed, 13 Aug 2025 15:39:54 +0400 Subject: [PATCH 4/5] fix_ci --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index d52cfad..926da33 100644 --- a/next.config.js +++ b/next.config.js @@ -5,6 +5,7 @@ const nextConfig = { }, images: { domains: ['images.unsplash.com', 'github.com'], + unoptimized: true, }, } From 00be3a3c76f623651a4541e4bd178ef191d42531 Mon Sep 17 00:00:00 2001 From: Sergei Bondar Date: Wed, 13 Aug 2025 15:48:30 +0400 Subject: [PATCH 5/5] fix_ci --- app/layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/layout.tsx b/app/layout.tsx index f5779ae..b84d0dd 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,6 +4,7 @@ import './globals.css' import Link from 'next/link' import { Github } from 'lucide-react' import Image from 'next/image' +import neonLogo from '@/public/NeonEVM Logo Pink.png' const inter = localFont({ src: [ @@ -85,7 +86,7 @@ export default function RootLayout({ {/* Neon EVM Logo */}