diff --git a/.drone.yml b/.drone.yml
index 90609688e..4ac3e7da0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -67,6 +67,12 @@ steps:
pull: true
environment:
PNPM_CACHE_FOLDER: .cache/pnpm
+ SENTRY_AUTH_TOKEN:
+ from_secret: sentry_auth_token
+ SENTRY_ORG: vikunja
+ SENTRY_PROJECT: frontend-oss
+ SENTRY_RELEASE:
+ from_secret: sentry_release
commands:
- corepack enable && pnpm config set store-dir .cache/pnpm
- pnpm run build
diff --git a/env.d.ts b/env.d.ts
index 2d7de3f6a..afb7fb63f 100644
--- a/env.d.ts
+++ b/env.d.ts
@@ -1,3 +1,24 @@
///
///
-///
\ No newline at end of file
+///
+
+interface ImportMetaEnv {
+ readonly VIKUNJA_API_URL?: string
+ readonly VIKUNJA_HTTP_PORT?: number
+ readonly VIKUNJA_HTTPS_PORT?: number
+
+ readonly VIKUNJA_SENTRY_ENABLED?: boolean
+ readonly VIKUNJA_SENTRY_DSN?: string
+
+ readonly SENTRY_AUTH_TOKEN?: string
+ readonly SENTRY_ORG?: string
+ readonly SENTRY_PROJECT?: string
+ readonly SENTRY_RELEASE?: string
+
+ readonly VITE_WORKBOX_DEBUG?: boolean
+ readonly VITE_IS_ONLINE?: boolean
+}
+
+interface ImportMeta {
+ readonly env: ImportMetaEnv
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index ddd35968d..7c3eda35d 100644
--- a/index.html
+++ b/index.html
@@ -24,12 +24,12 @@