File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 deployments : write
1414 env :
1515 POSTHOG_API_KEY : ${{ secrets.POSTHOG_API_KEY }}
16+ POSTHOG_API_URL : ${{ vars.POSTHOG_API_URL }}
1617 steps :
1718 - name : Create deployment status
1819 uses : bobheadxi/deployments@v1
Original file line number Diff line number Diff line change @@ -13,15 +13,11 @@ export async function initPostHog() {
1313 mode : "no-cors" ,
1414 } )
1515 if ( ! r . ok ) {
16- console . error ( "Error fetching PostHog API URL:" , r . statusText ) ;
17- console . error ( "Using default PostHog API URL:" , POSTHOG_DEFAULT_API_URL ) ;
1816 posthogApiUrl = POSTHOG_API_URL ;
1917 }
2018 if ( POSTHOG_API_URL ) {
21- console . log ( 'here' ) ;
2219 posthogApiUrl = POSTHOG_API_URL ;
2320 }
24- console . log ( "Initializing PostHog with API:" , posthogApiUrl ) ;
2521 if ( posthogApiUrl ) {
2622 posthog . init ( POSTHOG_KEY , {
2723 api_host : posthogApiUrl ,
You can’t perform that action at this time.
0 commit comments