Found this but doesn't help. Don't understand whats steps need to follow.
https://github.com/MicroWebStacks/astro-examples#11_deno-env
#I can not get env vars using deno deploy
16 messages · Page 1 of 1 (latest)
Is it possible to be more specific, what did you try ? what output log did you got ? can you share a minimal repo of your attempt ?
see this post for screenshot support https://discord.com/channels/830184174198718474/1053340471579131974
is this the first example you deploy on deno deploy, just to know if you have another one to compare with ?
In case it is, you need to get familiar with deno deploy tutorial first. I used deployctl https://deno.com/deploy/docs/deployctl
in my example, you need to run
- install
- build
- deploy
which isdeployctl deploy --project=astro-env --no-static --include=./dist ./dist/server/entry.mjs
I just used this tutorial: https://docs.astro.build/en/guides/deploy/deno/
I will try to deploy via cli
yeah I recommend cli, to be honest with you github actions worked for me once long time ago, but had issues with it recently.