Skip to content

Commit

Permalink
ci: update mixpanel secrets (#153)
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Egorov <ilya.e@ton.org>
  • Loading branch information
Mobyman and Ilya Egorov authored Nov 18, 2024
1 parent fcad599 commit 8fb0cec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
--set host=${{ env.APP_DOMAIN }} \
--set appName=${{ vars.APP_NAME }} \
--set ghcrSecret=${{ secrets.GHCR_SECRET }} \
--set secrets.publicProxyKey=${{ secrets.NEXT_PUBLIC_MIXPANEL_TOKEN }} \
--set secrets.publicMixPanelToken=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }} \
--set secrets.publicProxyKey=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }}
--set secrets.nextPublicProxyKey=${{ secrets.NEXT_PUBLIC_PROXY_KEY }} \
--set secrets.nextPublicMixpanelToken=${{ secrets.NEXT_PUBLIC_MIXPANEL_TOKEN }} \
--set secrets.nextPublicAnalyticsEnabled=${{ secrets.NEXT_PUBLIC_ANALYTICS_ENABLED }}
- name: Verify deployment
run: |
Expand Down
6 changes: 3 additions & 3 deletions helm/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ spec:
- name: APP_VERSION
value: {{ .Values.appVersion | quote }}
- name: NEXT_PUBLIC_PROXY_KEY
value: {{ .Values.secrets.publicProxyKey | quote }}
value: {{ .Values.secrets.nextPublicProxyKey | quote }}
- name: NEXT_PUBLIC_MIXPANEL_TOKEN
value: {{ .Values.secrets.publicMixPanelToken | quote }}
value: {{ .Values.secrets.nextPublicMixpanelToken | quote }}
- name: NEXT_PUBLIC_ANALYTICS_ENABLED
value: {{ .Values.secrets.publicProxyKey | quote }}
value: {{ .Values.secrets.nextPublicAnalyticsEnabled | quote }}
ports:
- containerPort: {{ .Values.containerPort }}
resources:
Expand Down
6 changes: 3 additions & 3 deletions helm/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ sslRedirect: false


secrets:
publicProxyKey: ""
publicMixPanelToken: ""
secrets.publicProxyKey: ""
nextPublicProxyKey: "redacted_proxy_key"
nextPublicMixpanelToken: "redacted_mixpanel_token"
nextPublicAnalyticsEnabled: "true"

0 comments on commit 8fb0cec

Please sign in to comment.