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

Fix missing embed folder in web/public #364

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

hariombalhara
Copy link
Member

@hariombalhara hariombalhara commented Jun 10, 2024

Fixes #360

Possible regression from #359. As we stopped using turbo for build, embed-core dependency of @calcom/web stopped building causing the public/embed folder to be not generated.

@hariombalhara hariombalhara marked this pull request as ready for review June 10, 2024 09:07
@hariombalhara hariombalhara changed the title Fix missing embed folder in public Fix missing embed folder in web/public Jun 10, 2024
@@ -32,6 +32,8 @@ RUN npx turbo prune --scope=@calcom/web --docker
RUN yarn install
RUN yarn db-deploy
RUN yarn --cwd packages/prisma seed-app-store
# Build and make embed servable from web/public/embed folder
RUN yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
RUN yarn --cwd apps/web workspace @calcom/web run build
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: Docker build was failing for me at @calcom/web run build command(due to type check) and it is unrelated to this change. I got the build passing through by adding CI=1 env variable for line 37.

@keithwillcode keithwillcode merged commit 7218b23 into calcom:main Jul 11, 2024
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.

domain/embed/embed.js returns 404 error
3 participants