Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/pr_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
with:
image_name: trento-web
tag: ${{ github.event.pull_request.number }}-env
MIX_ENV: demo

create-pr-environment:
name: Create or update the pr environment
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
nginx_ssl_key_as_base64='true' \
nginx_ssl_cert='${{ secrets.PR_ENV_SSL_CERT }}' \
nginx_ssl_key='${{ secrets.PR_ENV_SSL_CERT_KEY }}' \
posthog_api_key='${{ secrets.POSTHOG_API_KEY_DEMO }}' \
install_method='docker'"

run-photofinish-demo-env:
Expand Down
5 changes: 5 additions & 0 deletions config/demo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ config :trento, Trento.Infrastructure.SoftwareUpdates.MockSuma,
# 5870 matches to "vmhdbdev01.l15cqsinwnpu5gfyrf1r5l51fe.ax.internal.cloudapp.net" fqdn
5870
]

config :trento, :analytics,
enabled: true,
analytics_key: System.get_env("POSTHOG_API_KEY"),
analytics_url: "https://eu.posthog.com"
Loading