Build static site with Deno and deploy to Netlify
Go to your Netlify dashboard and select Add new site, then choose Import an existing project and follow the instruction to connect with your GitHub repository.
Set the following Publish settings:
Build command
Since Netlify currently only has Deno v1 installed, we install a newer version:
curl -fsSL https://deno.land/x/install/install.sh | sh && /opt/buildhome/.deno/bin/deno task generate
Copied!
Publish directory
generated
Copied!
Congratulations! Pushing to GitHub should now deploy your static site to Netlify.