Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci-cd): add env variable #39

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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đ'];