You can use Cloudflare to easily setup a secure and temporary tunnel for anyone to access your local deployment over the internet.

Imagine you just build your first Jekyll website and you run it localy at http://localhost:4000. Just install cloudflared (no need to create an account and authenticate) and run:

cloudflared tunnel --url http://localhost:4000

The output will give you a temporary URL on which you anyone can reach your machine:

2022-06-22T19:27:12Z INF Requesting new quick Tunnel on trycloudflare.com...
2022-06-22T19:27:14Z INF +--------------------------------------------------------------------------------------------+
2022-06-22T19:27:14Z INF |  Your quick Tunnel has been created! Visit it at (it may take some time to be reachable):  |
2022-06-22T19:27:14Z INF |  https://assigned-peninsula-hd-macro.trycloudflare.com                                     |
2022-06-22T19:27:14Z INF +--------------------------------------------------------------------------------------------+