Skip to content

Latest commit

Β 

History

History
98 lines (72 loc) Β· 2.81 KB

File metadata and controls

98 lines (72 loc) Β· 2.81 KB

Quick Deploy to GitHub Pages - 5 Minutes Setup πŸš€

This guide will get your wedding website live on GitHub Pages in 5 minutes with working forms and images.

⚑ Quick Steps

1️⃣ Get Web3Forms API Key (2 minutes)

  1. Go to https://web3forms.com
  2. Click "Get Started for Free"
  3. Sign up with your email or GitHub
  4. Create a new form, set email to: codestromhub@gmail.com
  5. Copy your Access Key (you'll need this in step 2)

2️⃣ Configure GitHub Repository (2 minutes)

  1. Go to your repository Settings β†’ Secrets and variables β†’ Actions
  2. Click "New repository secret" for each of the following:

Required Secrets:

  • WEB3FORMS_ACCESS_KEY: Your Web3Forms access key from step 1
  • GMAIL_USER: Your Gmail address (e.g., your-email@gmail.com)
  • GMAIL_APP_PASSWORD: Gmail app password (Get it here)
    • Note: Requires 2-Factor Authentication enabled on your Google account
  • GMAIL_FROM: Display name for emails (e.g., "Wedding <your-email@gmail.com>")
  • TEST_EMAIL_TO: Test recipient email address
  1. After adding all secrets, go to Settings β†’ Pages:
    • Under "Source", select "GitHub Actions"
    • Click "Save"

3️⃣ Deploy (1 minute)

Option A: Automatic (Recommended)

Just push to main branch:

git add .
git commit -m "Deploy to GitHub Pages"
git push origin main

Option B: Manual

  1. Go to Actions tab
  2. Click "Deploy Next.js site to Pages"
  3. Click "Run workflow" β†’ Select main β†’ Click "Run workflow"

4️⃣ Access Your Website

Your site will be live at:

https://<username>.github.io/<repository-name>/

Example:

https://codestorm-hub.github.io/Sharothee-Wedding-arvinwedsincia/

Wait 2-3 minutes for deployment to complete.

βœ… Test Checklist

  • Homepage loads
  • All images display
  • Contact form submits
  • RSVP form submits
  • Email notifications received
  • Mobile responsive

πŸ†˜ Troubleshooting

Forms not working?

  • Check that WEB3FORMS_ACCESS_KEY secret is set
  • Verify Web3Forms account is active

Images not loading?

  • Wait 2-3 minutes for deployment
  • Hard refresh browser: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)

Build failed?

  • Check Actions tab for error logs
  • Ensure all secrets are configured

πŸ“š Full Documentation

For detailed setup and troubleshooting, see:

πŸŽ‰ Done!

Your wedding website is now live with:

  • βœ… Working contact & RSVP forms
  • βœ… All images and galleries
  • βœ… Mobile-friendly design
  • βœ… Email notifications

Enjoy! πŸ’βœ¨