Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel setting for production deployment #41

Merged
merged 6 commits into from
Apr 12, 2024
Merged

Vercel setting for production deployment #41

merged 6 commits into from
Apr 12, 2024

Conversation

samuraikun
Copy link
Contributor

@samuraikun samuraikun commented Mar 10, 2024

Description

  • Added deploy setting

Deployed App URL

https://tabi-memo.vercel.app/

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Check List

If you face the below error when you sign up, you have to wait about an hour.... 😓
Because, this error is caused by Supabase Auth api rate limit.

image

Supabase Auth rate limit

Defaults to 30 emails per hour. As of 14th July 2023, this has been updated to 4 emails per hour. As of 21 Oct 2023, this has been updated to 3 emails per hour. You can only change this with your own custom SMTP setup.

https://supabase.com/docs/guides/platform/going-into-prod#auth-rate-limits

URL

Screenshot

@@ -7,6 +7,11 @@ const nextConfig = {
hostname: '127.0.0.1',
port: '54321',
pathname: '/storage/v1/object/public/**'
},
{
protocol: 'https',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This setting is needed to display uploaded images on production environment.

If the setting is nothing, Next.js automatically add link to image_url like https://xxx.com/_next/image?referer=https://image_object_url .

name: Deploy to Vercel

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Secrets have already set via github-cli.

gh secret set VERCEL_ORG_ID -b"xxx" --repo tabi-memo/frontend
gh secret set VERCEL_PROJECT_ID -b"xxx" --repo tabi-memo/frontend
gh secret set VERCEL_TOKEN -b"xxx" --repo tabi-memo/frontend

@samuraikun samuraikun merged commit 890a90e into main Apr 12, 2024
2 checks passed
@samuraikun samuraikun deleted the deploy-vercel branch April 12, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants