Question on creating self-hosted application to Github #161223
Replies: 3 comments
-
|
Hi there! 👋 Just a heads-up: GitHub Actions runners are used to execute your workflows (CI/CD pipelines) by running jobs defined in your Regarding your issue: the error you're seeing (
|
Beta Was this translation helpful? Give feedback.
-
|
Hello,
Thanks for your insight! I do understand that I run those jobs on my windows my machine. However, after executing the run.cm command from my machine, the machine connects to github. Also, in the current example, I have xxx.yml file which contains the script that runs the job. To run the job, I go to my repo, and workflow, locate the xxx.yml file and run it.
That’s the process I have followed and it seems to work. Let me know if this makes sense.
Thanks,
JC
From: Juan Miguel ***@***.***>
Sent: Friday, June 6, 2025 11:11 PM
To: community/community ***@***.***>
Cc: benlarr ***@***.***>; Author ***@***.***>
Subject: Re: [community/community] Question on creating self-hosted application to Github (Discussion #161223)
Hi there! 👋
Just a heads-up: GitHub Actions runners are used to execute your workflows (CI/CD pipelines) by running jobs defined in your .github/workflows directory. A self-hosted runner means you're running those jobs on your own machine (like your Windows PC), rather than on GitHub's hosted infrastructure.
Regarding your issue: the error you're seeing (404 Not Found) usually means that the repository URL is incorrect or the token is invalid/expired. I cannot check that the repository URL https://github.com/benlarr/jcrepo is correct (as it seems to be private) and that the token hasn’t expired or is not meant for another repo.
|
Beta Was this translation helpful? Give feedback.
-
|
Yeah, that makes sense! Sorry for the misunderstanding — I thought you were trying to deploy the application directly on a runner, but as it stands, runners are just for CI/CD with their current capabilities. As for the setup, it does make sense. Just keep in mind that typical CI/CD workflows are usually triggered by a push or pull request to the repo. That can simplify your workflow by running automatically on each push, instead of having to manually go to Actions and trigger a workflow (this implies having your machine working so it can process the request). But of course, since I don’t know the specifics of your case, your current setup is totally fine as it is. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Folks, I am trying to deploy a self-application to github using my personal windows machine. I create the repo, added the self-hosted runner and start executing the commands. All the commands executed successfully except for the config command. I am getting the following errors:
PS C:\action-runner> ./config.cmd --url https://github.com/benlarr/jcrepo --token BTDEX3RTPXET6KL54M5BKNTIHQCWW
Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration' (Request Id: D22B:3294A1:7A4FAF7:7E7E188:683C5A6C)
{"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}
Response status code does not indicate success: 404 (Not Found).
Beta Was this translation helpful? Give feedback.
All reactions