Skip to content

Commit 2729e6b

Browse files
authored
Merge pull request #536 from hashicorp/tauhid621-patch-1
Fix Copy Cloud Docs for TFE Workflow
2 parents 84b4329 + dea16be commit 2729e6b

File tree

5 files changed

+107105
-123230
lines changed

5 files changed

+107105
-123230
lines changed

.github/actions/copy-cloud-docs-for-tfe/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ export async function main(
259259
)
260260

261261
const destAbsolutePath = path.join(dest, relPath)
262+
const directoryPath = path.dirname(destAbsolutePath);
263+
264+
fs.mkdirSync(directoryPath, { recursive: true });
262265
fs.writeFileSync(destAbsolutePath, contents)
263266
}
264267
}

0 commit comments

Comments
 (0)