diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 7d5fb14204c..524d2edd7df 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -8,9 +8,6 @@ inputs: RUDDERSTACK_KEY: description: "Rudderstack key for initialising analytics" required: false - GROWTHBOOK_DECRYPTION_KEY: - description: "Growthbook decryption key for initialising analytics" - required: false GROWTHBOOK_CLIENT_KEY: description: "Growthbook client key for initialising analytics" required: false @@ -21,7 +18,6 @@ runs: env: TARGET_ENV: ${{ inputs.target }} RUDDERSTACK_KEY: ${{ inputs.RUDDERSTACK_KEY }} - GROWTHBOOK_DECRYPTION_KEY: ${{ inputs.GROWTHBOOK_DECRYPTION_KEY }} GROWTHBOOK_CLIENT_KEY: ${{ inputs.GROWTHBOOK_CLIENT_KEY }} run: node_modules/grunt/bin/grunt releaseci --$TARGET_ENV shell: bash diff --git a/.github/workflows/generate_preview_link.yml b/.github/workflows/generate_preview_link.yml index e53bc79800f..6fc1f4b675c 100644 --- a/.github/workflows/generate_preview_link.yml +++ b/.github/workflows/generate_preview_link.yml @@ -14,7 +14,7 @@ concurrency: jobs: build_and_deploy_preview_link: runs-on: Ubuntu-latest - environment: Staging + environment: Development permissions: checks: write pull-requests: write @@ -50,7 +50,6 @@ jobs: with: target: staging RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} - GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: Build Translations @@ -58,7 +57,6 @@ jobs: with: target: translations RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} - GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: "Run Tests" diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index ff4b1ee5509..0f12238eff5 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -6,6 +6,7 @@ on: jobs: build_and_test: name: Build and Test + environment: Production runs-on: ubuntu-latest environment: Production env: @@ -24,7 +25,6 @@ jobs: with: target: production 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" diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index 4ad732bfc98..e7b4853b510 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -22,14 +22,12 @@ jobs: with: target: staging RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} - GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }} GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} - name: Build Translations uses: "./.github/actions/build" with: target: translations 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"