Skip to content

Commit

Permalink
Merge pull request #123 from deriv-com/habib/rudderstack-env-secrets
Browse files Browse the repository at this point in the history
Update env in yml files
  • Loading branch information
habib-deriv authored Apr 23, 2024
2 parents eeb23a3 + 91e1d37 commit 556b9db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:

- name: Build staging
run: npm run build
env:
VITE_RUDDERSTACK_KEY: ${{ secrets.VITE_RUDDERSTACK_KEY }}

- name: Run tests for Eslint
run: npm run test:lint
Expand All @@ -45,4 +47,4 @@ jobs:
branch_name: staging
output_dir: dist
env:
RUDDERSTACK_KEY: ${{ vars.VITE_RUDDERSTACK_KEY }}
VITE_RUDDERSTACK_KEY: ${{ secrets.VITE_RUDDERSTACK_KEY }}
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
- name: Build
run: npm run build
shell: bash
env:
VITE_RUDDERSTACK_KEY: ${{ secrets.VITE_RUDDERSTACK_KEY }}

- name: "Run Tests"
run: npm run test:report
Expand All @@ -64,7 +66,7 @@ jobs:
branch_name: "pr-${{github.event.number}}"
output_dir: dist
env:
RUDDERSTACK_KEY: ${{ vars.VITE_RUDDERSTACK_KEY }}
VITE_RUDDERSTACK_KEY: ${{ secrets.VITE_RUDDERSTACK_KEY }}

- name: "Generate preview link comment"
uses: "deriv-com/shared-actions/.github/actions/post_preview_link_comment@v1"
Expand Down

0 comments on commit 556b9db

Please sign in to comment.