Skip to content

Commit

Permalink
fix(ci-cd): add env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ngyngcphu committed Dec 5, 2023
1 parent b671a36 commit d89bc5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
echo VITE_BACKEND_URL=${{ vars.BACKEND_URL }} >> .env
echo VITE_GOOGLE_OAUTH_REDIRECT_URL=${{ vars.GOOGLE_OAUTH_REDIRECT_URL }} >> .env
echo VITE_GOOGLE_CLIENT_ID=${{ vars.GOOGLE_CLIENT_ID }} >> .env
echo VITE_PAYPAL_CLIENT_ID=${{ vars.PAYPAL_CLIENT_ID }} >> .env
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
echo VITE_BACKEND_URL=${{ vars.BACKEND_URL }} >> .env
echo VITE_GOOGLE_OAUTH_REDIRECT_URL=${{ vars.GOOGLE_OAUTH_REDIRECT_URL }} >> .env
echo VITE_GOOGLE_CLIENT_ID=${{ vars.GOOGLE_CLIENT_ID }} >> .env
echo VITE_PAYPAL_CLIENT_ID=${{ vars.PAYPAL_CLIENT_ID }} >> .env
- name: Install dependencies
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion src/components/order/mobile/TopupWalletForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function TopupWalletForm() {
</div>
<div className={`px-6 pt-4 pb-6 flex flex-col ${!chevronIcon ? 'hidden' : ''}`}>
<ExchangeRateRow
title='To Dollar:'
title='To VND:'
coins={1}
numItems={VNDPerCoin.data}
children={<p className='text-gray/4 text-xs font-medium'>VND</p>}
Expand Down
2 changes: 1 addition & 1 deletion src/constants/suggestAmount.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SUGGEST_AMOUNT = ['10000đ', '20000đ', '50000đ', '100000đ', '500000đ'];
export const SUGGEST_AMOUNT = ['10,000đ', '20,000đ', '50,000đ', '100,000đ', '200,000đ', '500,000đ'];

0 comments on commit d89bc5c

Please sign in to comment.