File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ validate_feeds:
7575 --build-arg ARG_SIGN_IN_URL="${SIGN_IN_URL}"
7676 --build-arg ARG_BOT_WS_URL="${BOT_WS_URL}"
7777 --build-arg ARG_API_URL_PREFIX="${API_URL_PREFIX}"
78+ --build-arg ARG_UMAMI_WEBSITE_ID="${UMAMI_WEBSITE_ID}"
79+ --build-arg ARG_UMAMI_SCRIPT_URL="${UMAMI_SCRIPT_URL}"
7880 .
7981
8082 # Extract cache folders from tmp container to use as cache in GitLab runner.
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ ENV BOT_WS_URL=$ARG_BOT_WS_URL
1818ARG ARG_API_URL_PREFIX
1919ENV API_URL_PREFIX=$ARG_API_URL_PREFIX
2020
21+ ARG ARG_UMAMI_WEBSITE_ID
22+ ENV UMAMI_WEBSITE_ID=$ARG_UMAMI_WEBSITE_ID
23+
24+ ARG ARG_UMAMI_SCRIPT_URL
25+ ENV UMAMI_SCRIPT_URL=$ARG_UMAMI_SCRIPT_URL
26+
2127WORKDIR /docs
2228
2329COPY package.json ./
Original file line number Diff line number Diff line change @@ -3,4 +3,7 @@ export URL="https://postgres.ai"
33export BASE_URL=" /"
44export SIGN_IN_URL=" https://console.postgres.ai/signin"
55export BOT_WS_URL=" wss://postgres.ai/ai-bot-ws/"
6- export API_URL_PREFIX=" https://postgres.ai/api/general"
6+ export API_URL_PREFIX=" https://postgres.ai/api/general"
7+ # Umami analytics
8+ export UMAMI_WEBSITE_ID=" 3e8e7852-a623-4205-aa28-110f8c98e62e"
9+ export UMAMI_SCRIPT_URL=" https://analytics.postgres.ai/script.js"
Original file line number Diff line number Diff line change @@ -3,4 +3,7 @@ export URL="https://v2.postgres.ai"
33export BASE_URL=" /"
44export SIGN_IN_URL=" https://console-v2.postgres.ai/signin"
55export BOT_WS_URL=" wss://v2.postgres.ai/ai-bot-ws/"
6- export API_URL_PREFIX=" https://v2.postgres.ai/api/general"
6+ export API_URL_PREFIX=" https://v2.postgres.ai/api/general"
7+ # Umami analytics
8+ export UMAMI_WEBSITE_ID=" 8a51b37c-420b-4777-8bab-63491be1a4ac"
9+ export UMAMI_SCRIPT_URL=" https://analytics-v2.postgres.ai/script.js"
Original file line number Diff line number Diff line change 4545 value : $BOT_WS_URL
4646 - name : API_URL_PREFIX
4747 value : $API_URL_PREFIX
48+ - name : UMAMI_WEBSITE_ID
49+ value : $UMAMI_WEBSITE_ID
50+ - name : UMAMI_SCRIPT_URL
51+ value : $UMAMI_SCRIPT_URL
You can’t perform that action at this time.
0 commit comments