diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index a82e38456..bce1f18a8 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -8,6 +8,15 @@ inputs: TRACKJS_TOKEN: description: Trackjs Token required: false + RUDDERSTACK_KEY: + description: Rudderstack key for analytics + required: false + GROWTHBOOK_CLIENT_KEY: + description: Growthbook client key for analytics + required: false + GROWTHBOOK_DECRYPTION_KEY: + description: Growthbook decryption key for analytics + required: false runs: using: composite steps: @@ -15,5 +24,8 @@ runs: env: NODE_ENV: ${{ inputs.NODE_ENV }} TRACKJS_TOKEN: ${{ inputs.TRACKJS_TOKEN }} + RUDDERSTACK_KEY: ${{ inputs.RUDDERSTACK_KEY }} + GROWTHBOOK_CLIENT_KEY: ${{ inputs.GROWTHBOOK_CLIENT_KEY }} + GROWTHBOOK_DECRYPTION_KEY: ${{ inputs.GROWTHBOOK_DECRYPTION_KEY }} run: npm run build shell: bash diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index 0602cf2bf..dee44cd29 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -24,6 +24,9 @@ jobs: with: NODE_ENV: production TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }} + RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} + GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} + GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: Versioning uses: ./.github/actions/versioning with: diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index 13630a5af..23a71cc20 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -21,6 +21,9 @@ jobs: uses: ./.github/actions/build with: NODE_ENV: staging + RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} + GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} + GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: Versioning uses: ./.github/actions/versioning with: diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index 7dc2bee9f..831941392 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -26,6 +26,9 @@ jobs: with: NODE_ENV: staging TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }} + RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} + GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} + GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: Versioning uses: ./.github/actions/versioning with: