I have a web app that uses node.js and I want to deploy it to GitHub pages. I know that I will need to use actions, but I have no idea how to go about doing it. I know this was asked previously here, but it doesn't have the most recent answers. Any suggestions would be really appreciated.
Asked
Active
Viewed 21 times
0
-
The other answer is still up to date. You still can't do it. Github actions won't allow your code to run indefinitely – Konrad Jan 03 '23 at 17:28
-
GitHub Pages is a static hosting service. You can't run server-side code. – tadman Jan 03 '23 at 17:29
-
@tadman What if I don't have any server-side code, would it be possible then? – John Burton Jan 03 '23 at 17:47
-
2Yes, but then that's not a Node app. It's a client-side app. You can use Node during the build process, though, if you use a container-based build. It's just that the Node process there wraps up long before any requests are served. – tadman Jan 03 '23 at 17:49