Skip to content

Commit

Permalink
deploying dev fdr
Browse files Browse the repository at this point in the history
  • Loading branch information
dubwub committed Jan 23, 2025
1 parent 52ef3ef commit d2d38b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-fdr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- dd/write-to-s3
paths:
- "fern/apis/fdr/**"
- "fern/fern.config.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { loadDocsDefinitionFromS3 } from "../loadDocsDefinitionFromS3";

describe("loadDocsDefinitionFromS3", () => {
const TEST_DOMAIN = "dubwub.docs.dev.buildwithfern.com";
const TEST_URL = "https://docs-definitions-dev2.buildwithfern.com"; // This will be populated later
const TEST_URL = "https://docs-definitions-dev2.buildwithfern.com";

it("loads docs definition from S3", async () => {
const result = await loadDocsDefinitionFromS3({
Expand Down
7 changes: 1 addition & 6 deletions packages/fern-docs/bundle/turbo.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"globalEnv": [
"FERN_ENVIRONMENT",
"APPLICATION_ENVIRONMENT",
"CLOUDFRONT_DOCS_DEFINITION_PRIVATE_KEY",
"CLOUDFRONT_DOCS_DEFINITION_KEY_PAIR_ID"
],
"globalEnv": ["FERN_ENVIRONMENT", "APPLICATION_ENVIRONMENT"],
"tasks": {
"docs:build": {
"outputs": [".next/**", "!.next/cache/**"],
Expand Down
4 changes: 3 additions & 1 deletion packages/fern-docs/ui/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"NEXT_DEPLOYMENT_ID",
"NEXT_PUBLIC_FDR_ORIGIN",
"NEXT_PUBLIC_VERCEL_ENV",
"NEXT_PUBLIC_DOCS_DEFINITION_S3_URL"
"NEXT_PUBLIC_DOCS_DEFINITION_S3_URL",
"CLOUDFRONT_DOCS_DEFINITION_PRIVATE_KEY",
"CLOUDFRONT_DOCS_DEFINITION_KEY_PAIR_ID"
],
"inputs": ["$TURBO_DEFAULT$"]
}
Expand Down

0 comments on commit d2d38b1

Please sign in to comment.