Github Actions doesn't GET url #25366
-
Hello, I am trying to connect to a URL when a push is made. The problem is that the action just keeps running and does not connect to the server. I am new to Github actions, so here is my code:
The XXX in the IP is just to cover my actual IP. The only this I need is that the action contacts the server and gives it the OauthID and project name. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For a possible bug in the action it might be better to raise an issue in the action repository, but if you just need to send a GET request to that URL you could simply use
|
Beta Was this translation helpful? Give feedback.
-
As your job runs-on ubuntu-latest runner, it is a GitHub Hosted runner which installed on Azure VMs . Is the url accessible through the internet? If not, your server could not contact with your server. You could consider to use a self-hosted runner if possible. |
Beta Was this translation helpful? Give feedback.
For a possible bug in the action it might be better to raise an issue in the action repository, but if you just need to send a GET request to that URL you could simply use
curl
, like so: