Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "build command" section in Deno Deploy project settings #2822

Open
AFGarrison opened this issue Feb 7, 2025 · 1 comment
Open

No "build command" section in Deno Deploy project settings #2822

AFGarrison opened this issue Feb 7, 2025 · 1 comment

Comments

@AFGarrison
Copy link

I have a Deno Deploy project that I want to shift into using an ahead-of-time build due to one of my islands being very Javascript heavy. Initially I planned to do this through the Deno Deploy dashboard with the deno task build command, but the "build command" section mentioned in the documentation doesn't seem to exist on my screen.

Image

In addition, I'm confused on how to set up an ahead of time build manually. The documentation says that the _fresh directory shouldn't be commited to the repository, but I'm not sure how to pass the build to Deno Deploy otherwise. Can I update the rest of the project as is and only refrain from adding the _fresh repository, or do I need to upload the directory to GitHub in such a way that it is ignored on deployment?

@CAYdenberg
Copy link
Contributor

Shows up a little further down for me ...

Image

You can think of build as a transformation step between the committed code and the deployed code. The directory doesn't need to be on GitHub; it will be created "on" Deno Deploy before the site is live, if that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants