This is the source code for Jeffrey Pearce's professional portfolio website. It's built with Next.js, React, and Shadcn UI, and is hosted on Vercel.
- Clone the repository
- Install dependencies:
npm install
- Run the development server:
npm run dev
This project is set up for automatic deployment to Vercel when changes are pushed to the main branch.
- Sign up for a Vercel account if you haven't already.
- Install the Vercel CLI:
npm i -g vercel
- Run
vercel
in the project directory and follow the prompts to link your project. - Set up environment variables in the Vercel dashboard:
NEXT_PUBLIC_EMAIL
NEXT_PUBLIC_PHONE
UPDATE: you no longer need to set up GitHub Actions. You can simply connect your GitHub repository to Vercel and it will handle the deployment.
This project uses GitHub Actions for CI/CD. The workflow is defined in .github/workflows/deploy.yml
.
To set up:
- Go to your GitHub repository settings.
- Navigate to "Secrets and variables" > "Actions".
- Add the following secrets:
VERCEL_TOKEN
: Your Vercel API tokenVERCEL_ORG_ID
: Your Vercel organization IDVERCEL_PROJECT_ID
: Your Vercel project ID
Copy .env.example
to .env.local
and update the values.
Jeffrey Pearce
Last Updated: 23 April 2025