|
2 | 2 | # |
3 | 3 | # FEATURES: |
4 | 4 | # ✅ All public-facing pages (Home, Events, Gallery, Live, Travel, Contact, RSVP) |
5 | | -# ✅ Working contact and RSVP forms (using Gmail via serverless API) |
| 5 | +# ✅ Working contact and RSVP forms (using Web3Forms API) |
6 | 6 | # ✅ All images and static assets |
7 | 7 | # ✅ Responsive design and mobile-friendly |
8 | 8 | # |
9 | 9 | # SETUP REQUIRED: |
10 | | -# 1. Deploy the serverless email API to Vercel (see api-serverless/README.md) |
11 | | -# 2. Add serverless API URL as repository secret: EMAIL_API_URL |
12 | | -# 3. Add Gmail credentials as repository secrets (for the serverless API): |
| 10 | +# 1. Get free Web3Forms API key from https://web3forms.com |
| 11 | +# 2. Add as repository secret: WEB3FORMS_ACCESS_KEY |
| 12 | +# 3. Add Gmail credentials as repository secrets: |
13 | 13 | # - GMAIL_USER: Gmail email address |
14 | 14 | # - GMAIL_APP_PASSWORD: Gmail app password (not regular password) |
15 | 15 | # - GMAIL_FROM: Display name for emails (e.g., "Wedding <email@domain.com>") |
@@ -126,12 +126,13 @@ jobs: |
126 | 126 | CLOUDINARY_API_KEY="" |
127 | 127 | CLOUDINARY_API_SECRET="" |
128 | 128 | |
129 | | - # Serverless Email API URL (deployed on Vercel) |
130 | | - # This is used by the static site to send emails via Gmail |
131 | | - NEXT_PUBLIC_EMAIL_API_URL="${{ secrets.EMAIL_API_URL }}" |
| 129 | + # Web3Forms for static form submissions |
| 130 | + # Get your free access key at https://web3forms.com |
| 131 | + # Add as repository secret: WEB3FORMS_ACCESS_KEY |
| 132 | + NEXT_PUBLIC_WEB3FORMS_KEY="${{ secrets.WEB3FORMS_ACCESS_KEY }}" |
132 | 133 | EOF |
133 | 134 | echo "Environment file created" |
134 | | - echo "Email API URL configured: ${{ secrets.EMAIL_API_URL != '' && 'Yes' || 'No (using default)' }}" |
| 135 | + echo "Web3Forms key configured: ${{ secrets.WEB3FORMS_ACCESS_KEY != '' && 'Yes' || 'No (using fallback)' }}" |
135 | 136 | - name: Generate Prisma client |
136 | 137 | working-directory: ./client |
137 | 138 | run: npx prisma generate |
|
0 commit comments