Skip to content

Commit

Permalink
debug dmno env
Browse files Browse the repository at this point in the history
  • Loading branch information
theoephraim committed Jan 14, 2025
1 parent 50e2338 commit ed93914
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"build": "turbo build",
"build:libs": "turbo build --filter=\"!@dmno/docs-site\" --filter=\"!@dmno/signup-api\"",
"preinstall": "npx only-allow pnpm",
"prepare": "[ -z \"${NETLIFY}\" ] || pnpm build:libs",
"dev": "turbo run dev --concurrency=40 --parallel --filter=\"!@dmno/docs-site\" --filter=\"!@dmno/signup-api\"",
"lint": "turbo lint",
"changeset:add": "changeset add",
Expand Down
6 changes: 6 additions & 0 deletions packages/docs-site/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import IconsVitePlugin from 'unplugin-icons/vite';
import sitemap from '@astrojs/sitemap';
import dmnoAstroIntegration from '@dmno/astro-integration';

console.log(process.env);
console.log('DMNO ENV', {
CF_PAGES_BRANCH: DMNO_CONFIG.CF_PAGES_BRANCH,
DMNO_ENV: DMNO_CONFIG.DMNO_ENV,
});

// https://astro.build/config
export default defineConfig({
site: 'https://dmno.dev',
Expand Down
13 changes: 0 additions & 13 deletions packages/docs-site/netlify.toml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/docs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"netlify-build": "pnpm run docgen && pnpm run clidocgen && turbo build",
"build-for-deploy": "turbo build --filter=dmno && pnpm run docgen && pnpm run clidocgen && turbo build",
"preview": "astro preview",
"astro": "astro",
"docgen": "typedoc --options ./src/utils/typedoc/typedoc.json",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": [ "CF_PAGES", "CF_PAGES_BRANCH", "CF_PAGES_COMMIT_SHA", "CF_PAGES_URL" ],
"tasks": {
"build": {
"dependsOn": [ "^build" ],
Expand Down

0 comments on commit ed93914

Please sign in to comment.