chore: update ahead-of-time build docs for Deno Deploy (#2381)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
13d514dab8
commit
29d582c987
@@ -17,11 +17,13 @@ the code needs to be pushed to a repository on GitHub. Once this has been done,
|
||||
one must go to the [Deno Deploy dashboard][deno-deploy-dashboard] and create a
|
||||
new project.
|
||||
|
||||
After creating the project, head to the "Git" tab in the project settings,
|
||||
select the repository, the production branch (`main`) and the entrypoint file
|
||||
(`main.ts`). This will link the project to the repository and automatically
|
||||
deploy it to the internet. The project will now be available at
|
||||
https://$PROJECT_NAME.deno.dev.
|
||||
Click on the "New Project" button and select the GitHub repository that contains
|
||||
the Fresh project. Select the "Fresh" framework preset, and click on "Advanced
|
||||
options". Enter `deno task build` in the "Build command" field. Press "Create
|
||||
project".
|
||||
|
||||
The project will now deploy to Deno Deploy. After this is done, the project will
|
||||
be available at https://$PROJECT_NAME.deno.dev.
|
||||
|
||||
Every time the code in the GitHub repository is updated, it will be deployed
|
||||
either as a preview or production deployment. Production deployments are only
|
||||
|
||||
Reference in New Issue
Block a user