-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore: remove passing of build time env vars #2236
chore: remove passing of build time env vars #2236
Conversation
Thank you for following the naming conventions for pull request titles! 🙏 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
@@ -78,9 +78,6 @@ jobs: | |||
cache-from: type=gha | |||
cache-to: type=gha,mode=max | |||
build-args: | | |||
NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} | |||
DATABASE_URL=${{ env.DATABASE_URL }} | |||
ENCRYPTION_KEY=${{ env.ENCRYPTION_KEY }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShubhamPalriwala thanks for making the changes :-)
What does this PR do?
We recently hardcoded 3 of our required build time variables so that they only need to be passed at runtime where they overwrite these build time vars. This PR removes the passing to the github actions that use them currently
How should this be tested?
Ran the docker release action on my fork and it built the image successfully
Checklist
Required
pnpm build
console.logs
git pull origin main
Appreciated