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

[QUESTION] Pushing to Vercel in batches? #211

Closed
ludwikc opened this issue Feb 26, 2023 · 3 comments
Closed

[QUESTION] Pushing to Vercel in batches? #211

ludwikc opened this issue Feb 26, 2023 · 3 comments

Comments

@ludwikc
Copy link

ludwikc commented Feb 26, 2023

Vercel app in free plan offers up to 100 Deployments per Day.

If I want to publish 100 notes in one "Publish Multiple Notes" action in Obsidian - will it use 100 or 1 deployment run?

@oleeskild
Copy link
Owner

I'm actually not sure. Previously the default hosting services was Netlify, and there they batched together commits if they were pushed in rapid succession, so that you would end up with 1 build even if you published 100 notes. But I haven't looked into how this mechanism works in Vercel. I'll see if I can figure it out in their documentation. If they don't do the same as Netlify, I might have to look into changing the publish multiple notes command to instead publish all the notes as a single commit.

@oleeskild
Copy link
Owner

Tested this today: Published 180 notes using the "Publish Multiple Notes" command, which essentially creates 180 commits. Looking at Vercel, they started a build of the first commit. Then, when that was finished, they started building all the commits that had been added in the meantime. In total it resulted in 5 deployments. So this shouldn't be a problem.

@Jackiexiao
Copy link

Jackiexiao commented Mar 24, 2023

Published multi notes using the "Publish Multiple Notes" create a commit would be better because you will get a lot of email from vercel.... . But yes, this shouldn't` be a problem now

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

No branches or pull requests

3 participants