Next.js Discord

Discord Forum

CI/CD GitHub actions and preview build urls

Unanswered
Morelet’s Crocodile posted this in #help-forum
Open in Discord
Morelet’s CrocodileOP
I am following the official documentation for deploying a preview build of a team NextJS project via GitHub actions. The build works fine but I’m not able to pin a comment containing the demo/preview url to the PR comment section. This would be ideal as it’s mean people could easily view the changes without having to checkout the branch locally.

I’m following the docs from https://vercel.com/guides/how-do-i-use-a-vercel-api-access-token

Does anyone have any recommendations or snippets they can share for achieving this?

Many thanks.

0 Replies