uncenter
uncenter2w ago

Unable to update entrypoint configuration on Deno Deploy

I'm confused and stuck on updating the entrypoint for a project on Deno Deploy. I had initially set up the entrypoint at a different path, but then moved the entrypoint file and updated the deploy.entrypoint field of my deno.json to match the new path. Running deployctl deploy from the root directory results in a successful deployment. But pushing to main and triggering the Git hook for prod deployments continues to fail, when Deploy tries to find a now-nonexistent entrypoint. It seems as if Deploy isn't reading the deno.json to determine the entrypoint? Cross posted from my original message at https://discord.com/channels/684898665143206084/826085979344470037/1333951330607173713.
5 Replies
patrickalima98
Hi @uncenter how you configure your project deploy in github? Are you using the Deno Deploy UI or create the github actions manually? I just created a new project (Hello world) and configure the deploy with the UI:
No description
patrickalima98
In UI for entrypoint i selected the src/main.ts The project is working perfect: https://patrickalim-deno-deploy-78.deno.dev/
uncenter
uncenterOP5d ago
Now try changing the entrypoint of that project. I don't see any way to get back to that UI for editing the project configuration after you have created the project.
patrickalima98
In settings you can Unlink your project and add again, By doing this will be able to select the entrypoint Is not the best process, Yes! I'm using gitlab so i deploy by CI/CD manually

Did you find this page helpful?