Skip to content
Discussion options

You must be logged in to vote

Hey! Andnasnd thank u for following zzhack and forked this repo to create ur own site, I'm glad someone make zzhack's code work :D

The vercel.json is used to be parsed by Vercel, and the Vercel will deploy it in a serverless container I guess. But as u see, the Vercel is not provided templates like Yew/Rust or something, but Vercel still can easier to deploy static files like HTML/CSS/JS, so u need to run trunk build to build dist files before, and try to deploy these dists files on Vercel.

However, having trigger build action(trunk build) before each deployment is a pain in the ass, so I put these actions(just like install deps -> build -> deploy) on CI, as u can see the .github/workflows

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@wock9000
Comment options

@wock9000
Comment options

Answer selected by wock9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants