Skip to content

Commit

Permalink
Merge branch 'master' into feature/new-dashboard--1
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv committed Oct 2, 2024
2 parents 73e363f + 4b09f67 commit be4f9ec
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ 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:
- name: Building Docusaurus project
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
3 changes: 3 additions & 0 deletions .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit be4f9ec

Please sign in to comment.