Next.js Discord

Discord Forum

How to redeploy using self host & github. (like vercel)

Unanswered
Munchkin posted this in #help-forum
Open in Discord
MunchkinOP
As the title is saying. Im trying to have my project be auto-deployed whenever i push to github.

Unfortunately i seem to be running into issues with every tutorial i follow.

I use pm2 (port 3000) and nginx on which i have a reverse proxy set up. However when i try to reach my payload. It can not find it.

Any help would be appreciated and im willing to give any information needed.

5 Replies

MunchkinOP
bump
Griffon Nivernais
You're looking for Github Pipelines, they help automate things like this when certain actions/events occur.
You can start off with something basic on a dummy project then slowly branch out, any blog [like this one](https://github.blog/2022-02-02-build-ci-cd-pipeline-github-actions-four-steps/) should do.
MunchkinOP
Thanks ill check it out