Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Add env variables

Andrey Okonetchnikov46a41caa0e0b
diff --git a/.github/workflows/vis-reg-tests.yml b/.github/workflows/vis-reg-tests.yml
index bfe5dab3ac..908bb8f1ca 100644
--- a/.github/workflows/vis-reg-tests.yml
+++ b/.github/workflows/vis-reg-tests.yml
@@ -23,3 +23,6 @@ jobs:
- name: Lost Pixel
uses: lost-pixel/[email protected]
+ env:
+ S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
+ S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
diff --git a/packages/design-system/lostpixel.config.js b/packages/design-system/lostpixel.config.js
new file mode 100644
index 0000000000..952e026e5e
--- /dev/null
+++ b/packages/design-system/lostpixel.config.js
@@ -0,0 +1,16 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.config = void 0;
+var process = require("process");
+exports.config = {
+ storybookShots: {
+ storybookUrl: "storybook-static",
+ },
+ lostPixelProjectId: "cl8a8xmx714904901m9oce4vhqc",
+ s3: {
+ endPoint: "ams3.digitaloceanspaces.com",
+ accessKey: process.env.S3_ACCESS_KEY,
+ secretKey: process.env.S3_SECRET_KEY,
+ bucketName: "beta-seven-turtle-time-blue-narrow",
+ },
+};
diff --git a/packages/design-system/lostpixel.config.ts b/packages/design-system/lostpixel.config.ts
index d545155100..9138398e69 100644
--- a/packages/design-system/lostpixel.config.ts
+++ b/packages/design-system/lostpixel.config.ts
@@ -1,8 +1,15 @@
import type { CustomProjectConfig } from "lost-pixel";
+import * as process from "process";
export const config: CustomProjectConfig = {
storybookShots: {
storybookUrl: "storybook-static",
},
- generateOnly: true,
+ lostPixelProjectId: "cl8a8xmx714904901m9oce4vhqc",
+ s3: {
+ endPoint: "ams3.digitaloceanspaces.com",
+ accessKey: process.env.S3_ACCESS_KEY,
+ secretKey: process.env.S3_SECRET_KEY,
+ bucketName: "beta-seven-turtle-time-blue-narrow",
+ },
};