Access github actions local port with public ip

Is it possible to host a server(temporarily) in github action VM instance which can be accessed with the help of ip and port name ?

Basically I can access the public ip of vm instance and port on which express app is running. All I need is a way to open that express app in a browser with the help of url.

Thanks in advance

1 Like

Yes. It is possible to suspend a running action, then, access the running, action, container directly via NGROK.

For example, we’ll develop or troubleshoot a Github/Action with other team members. We’ll suspend the action, so that we can all login and investigate. To do this, we run the node code-server application, on the Action VM.

Here’s a video on the walk-through process… showing you how to use NGROK, for getting direct access.

https://player.vimeo.com/video/449383747

Hope this helps

3 Likes