this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

.env file fix?

Altagos 6b96bf09 f09d7909

+8 -7
+2 -1
.build.yml
··· 5 5 - deno 6 6 environment: 7 7 site: altagos.dev 8 - ALTAGOS_ENV_PATH: "~/.env" 8 + # ALTAGOS_ENV_PATH: "~/.env" 9 9 sources: 10 10 - https://git.sr.ht/~altagos/altagos.dev 11 11 secrets: ··· 13 13 tasks: 14 14 - package: | 15 15 cd $site 16 + cp ~/.env .env 16 17 deno task deploy 17 18 cp ./site.tar.gz ../site.tar.gz 18 19 - upload: |
+6 -6
_config.ts
··· 59 59 ); 60 60 site.use(toml()); 61 61 62 - let envPath = Deno.env.get("ALTAGOS_ENV_PATH"); 63 - if (envPath == undefined) { 64 - envPath = "./.env"; 65 - } 62 + // let envPath = Deno.env.get("ALTAGOS_ENV_PATH"); 63 + // if (envPath == undefined) { 64 + // envPath = "./.env"; 65 + // } 66 66 const _env = await load({ 67 - envPath: envPath, 67 + // envPath: envPath, 68 68 export: true, 69 69 }); 70 70 71 71 const api_key = Deno.env.get("DARKVISITORS_API_KEY"); 72 72 if (api_key == undefined) { 73 - console.error("DARKVISITORS_API_KEY is not defined in.env file"); 73 + console.error("DARKVISITORS_API_KEY is not defined in .env file"); 74 74 Deno.exit(1); 75 75 } 76 76