Add terraform assets

This commit is contained in:
Kamran Ahmed committed 2024-06-21 21:26:15 +01:00
1 parent c4cc0630c0
commit 4c54e20a11
3 files changed
+1

No files matched your search

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

+1
View File
@@ -56,6 +56,7 @@ const pageUrl = `http://localhost:3000/${roadmapId}/svg`;
console.log(`Opening page ${pageUrl}`);
await page.goto(pageUrl);
await page.waitForSelector('#resource-svg-wrap');
await page.waitForTimeout(5000);
console.log(`Generating PDF ${pageUrl}`);
await page.pdf({
path: `./public/pdfs/roadmaps/${roadmapId}.pdf`,