This guide will get your wedding website live on GitHub Pages in 5 minutes with working forms and images.
- Go to https://web3forms.com
- Click "Get Started for Free"
- Sign up with your email or GitHub
- Create a new form, set email to:
codestromhub@gmail.com - Copy your Access Key (you'll need this in step 2)
- Go to your repository Settings β Secrets and variables β Actions
- 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
- After adding all secrets, go to Settings β Pages:
- Under "Source", select "GitHub Actions"
- Click "Save"
Just push to main branch:
git add .
git commit -m "Deploy to GitHub Pages"
git push origin main- Go to Actions tab
- Click "Deploy Next.js site to Pages"
- Click "Run workflow" β Select
mainβ Click "Run workflow"
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.
- Homepage loads
- All images display
- Contact form submits
- RSVP form submits
- Email notifications received
- Mobile responsive
Forms not working?
- Check that
WEB3FORMS_ACCESS_KEYsecret is set - Verify Web3Forms account is active
Images not loading?
- Wait 2-3 minutes for deployment
- Hard refresh browser:
Ctrl+Shift+R(Windows) orCmd+Shift+R(Mac)
Build failed?
- Check Actions tab for error logs
- Ensure all secrets are configured
For detailed setup and troubleshooting, see:
- GITHUB_ACTIONS_DEPLOYMENT_GUIDE.md - Complete deployment guide
- GITHUB_PAGES_DEPLOYMENT.md - Technical details
Your wedding website is now live with:
- β Working contact & RSVP forms
- β All images and galleries
- β Mobile-friendly design
- β Email notifications
Enjoy! πβ¨