Skip to content

Commit

Permalink
Merge branch 'master' of github.com:deriv-com/smarttrader into setup-…
Browse files Browse the repository at this point in the history
…hydra-feature
  • Loading branch information
adrienne-deriv committed Oct 3, 2024
2 parents 10202f8 + 02c199b commit 4e9ade8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 1 addition & 3 deletions .github/workflows/generate_preview_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -50,15 +50,13 @@ 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: "Run Tests"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
build_and_test:
name: Build and Test
environment: Production
runs-on: ubuntu-latest
environment: Production
env:
Expand All @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e9ade8

Please sign in to comment.