Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/distribute-resources-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --yes @cloudflare/next-on-pages@latest

- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
command: |
pages deploy ./app --project-name="developer-playbook"
pages deploy ./.vercel/output/static --project-name="developer-playbook"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -85,7 +86,7 @@ export default function RootLayout({
<Link href="https://neonevm.org" className="flex items-center">
{/* Neon EVM Logo */}
<Image
src="/NeonEVM Logo Pink.png"
src={neonLogo}
alt="Neon EVM Logo"
width={160}
height={60}
Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const nextConfig = {
},
images: {
domains: ['images.unsplash.com', 'github.com'],
unoptimized: true,
},
}

Expand Down
6 changes: 0 additions & 6 deletions vercel.json

This file was deleted.