Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cotyhamilton committed Aug 31, 2024
1 parent 22fdc9e commit 50baeac
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,25 @@ DENO_FUTURE=1 deno run -REN --no-lock build/mod.ts

## deploy

Create project on [deno deploy](https://dash.deno.com/projects) and link repo

Svelte will be automatically selected as the framework preset

Open advanced settings

- Set "Install Step" to `DENO_FUTURE=1 deno install`
- Set "Build Step" to `DENO_FUTURE=1 deno task build`
- Set "Root directory" to `build`
- Set "Entrypoint" to `mod.ts`

Alternatively, deploy from the command line:

```bash
DENO_FUTURE=1 deno task build
cd build
deployctl deploy --entrypoint=mod.ts
deployctl deploy --project=<project-name> --entrypoint=mod.ts
```

## Example

https://deno-sveltekit-example.deno.dev

0 comments on commit 50baeac

Please sign in to comment.