#I can not get env vars using deno deploy

16 messages · Page 1 of 1 (latest)

ember fjord
plush shell
#

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 ?

ember fjord
plush shell
#

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 is deployctl deploy --project=astro-env --no-static --include=./dist ./dist/server/entry.mjs
ember fjord
#

I will try to deploy via cli

plush shell
#

yeah I recommend cli, to be honest with you github actions worked for me once long time ago, but had issues with it recently.

ember fjord
#

so I did deno-deploy

#

but...

#

can see anything deployed in my deno dashboard

#

can not*

#

ups

#

sh: deployctl: command not found

#

export PATH="/Users/karolis/.deno/bin:$PATH"
a

#

all good