Skip to content

Commit

Permalink
Merge pull request #95 from nada-deriv/nada/fix-env-var
Browse files Browse the repository at this point in the history
fix: change secrets to var
  • Loading branch information
ali-hosseini-deriv authored Jun 4, 2024
2 parents efd8b02 + 0559906 commit 1ebb8c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
- name: Build staging
run: npm run build
env:
VITE_PROJECT_NAME: ${{ secrets.VITE_PROJECT_NAME }}
VITE_CROWDIN_BRANCH_NAME: ${{ secrets.VITE_CROWDIN_BRANCH_NAME }}
VITE_TRANSLATIONS_CDN_URL: ${{ secrets.VITE_TRANSLATIONS_CDN_URL }}
VITE_PROJECT_NAME: ${{ vars.VITE_PROJECT_NAME }}
VITE_CROWDIN_BRANCH_NAME: ${{ vars.VITE_CROWDIN_BRANCH_NAME }}
VITE_TRANSLATIONS_CDN_URL: ${{ vars.VITE_TRANSLATIONS_CDN_URL }}


- name: Run tests for Eslint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
- name: Build staging
run: npm run build
env:
VITE_PROJECT_NAME: ${{ secrets.VITE_PROJECT_NAME }}
VITE_CROWDIN_BRANCH_NAME: ${{ secrets.VITE_CROWDIN_BRANCH_NAME }}
VITE_TRANSLATIONS_CDN_URL: ${{ secrets.VITE_TRANSLATIONS_CDN_URL }}
VITE_PROJECT_NAME: ${{ vars.VITE_PROJECT_NAME }}
VITE_CROWDIN_BRANCH_NAME: ${{ vars.VITE_CROWDIN_BRANCH_NAME }}
VITE_TRANSLATIONS_CDN_URL: ${{ vars.VITE_TRANSLATIONS_CDN_URL }}

- name: Run tests for Eslint
run: npm run test:lint
Expand Down

0 comments on commit 1ebb8c2

Please sign in to comment.