How do you deploy a site? #260
-
Hey, I'm not seeing any documentation for how to deploy a site (and to a custom domain). When I click the Deploy button and choose Connect to Github, the modal says: This is how you connect to github. Set up an account and do this, see the docs for more details. There's also an input to "Enter API Token". However, there's no link to the documentation and I'm not finding anything on the primo website. Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Good question, that's something that should definitely be in the Docs. The easiest way would be to deploy your site to GitHub, then create a new project in Vercel (assuming that's the host you're using) and select the repo to deploy from. When you deploy updates from Primo they'll automatically deploy to the Vercel project. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that's what I was guessing, but what am I supposed to enter in the "Enter API Token" input? I also just asked this question along with a couple of others in Discord, FYI. Thanks! |
Beta Was this translation helpful? Give feedback.
Oh sorry about that; just realized that's placeholder text.
To generate a token:
If all went well, you should see your Github account name and profil photo show up and have the ability to deploy your site. Then when you go into your Vercel account and create a new project you should see the newly created repo. Let me know if you run into any issues :)