Improve GH Action workflow for building images

This commit is contained in:
Reginald Bondoc
2022-12-06 00:17:24 +01:00
parent 1454911085
commit a83d536ea4
4 changed files with 63 additions and 13 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import {
export const initPostHog = () => {
if (typeof window !== "undefined") {
if (ENV == "production" && TELEMETRY_CAPTURING_ENABLED) {
if (ENV == "production" && TELEMETRY_CAPTURING_ENABLED) { // eslint-disable-line
posthog.init(POSTHOG_API_KEY, {
api_host: POSTHOG_HOST,
});
@@ -1,3 +1,4 @@
/* eslint-disable */
import { initPostHog } from "~/components/analytics/posthog";
import { ENV } from "~/components/utilities/config";