how to integrate with github actions
I'm trying to integrate my local web server with github. In order to do it, I need some secret info such as 'CLOUDFLARE_TUNNEL_ID', 'CLOUDFLARE_TUNNEL_SECRET', 'SSH_HOST', 'SSH_USER', 'SSH_PRIVATE_KEY'. What I am looking for is 'CLOUDFLARE_TUNNEL_SECRET', but I can not find it in cloudflare dashboard and I can't find ~/.cloudflared directory, either because I created a cloudflare tunnel through web browser. How can I download CLOUDFLARE_TUNNEL_SECRET?
3 Replies
How exactly do you want to contact your webserver from GitHub actions?
Cloudflare Tunnels are part of Zero Trust and I think there are Service Tokens for such automation tasks (might require more setup on Zero Trust than just generating this token though)
sorry for late to reply
before associating cloudflare tunnel with Github, I had not been able to ssh to my sever through the tunnel. I'm trying WARP connection now
I finally configured warp tunnel and I also found a way to associate it with github actions
https://github.com/marketplace/actions/setup-cloudflare-warp
GitHub
Setup Cloudflare Warp - GitHub Marketplace
Sets up the Cloudflare Warp client in your GitHub Actions workflow