From d210fc16ef4b25f209787720d388e3b0c450877c Mon Sep 17 00:00:00 2001 From: apozdniakov Date: Tue, 2 Jul 2024 23:13:00 +0200 Subject: [PATCH] extract backend url to variable --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 253c2fe..eceb02b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: tags: retypeme/retypeme-frontend-uat:latest build-args: | NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY=${{ secrets.NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY }} - NEXT_PUBLIC_API_DOMAIN=${{ secret.NEXT_PUBLIC_API_DOMAIN_UAT }} + NEXT_PUBLIC_API_DOMAIN=${{ secrets.NEXT_PUBLIC_API_DOMAIN_UAT }} - name: Build Docker frontend image uses: docker/build-push-action@v5 @@ -44,4 +44,4 @@ jobs: tags: retypeme/retypeme-frontend-prod:latest build-args: | NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY=${{ secrets.NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY }} - NEXT_PUBLIC_API_DOMAIN=${{ secret.NEXT_PUBLIC_API_DOMAIN_PROD }} + NEXT_PUBLIC_API_DOMAIN=${{ secrets.NEXT_PUBLIC_API_DOMAIN_PROD }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef1827c..dcf9f9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: tags: retypeme/retypeme-frontend-uat:${{ env.newTag }}, retypeme/retypeme-frontend-uat:latest build-args: | NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY=${{ secrets.NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY }} - NEXT_PUBLIC_API_DOMAIN=${{ secret.NEXT_PUBLIC_API_DOMAIN_UAT }} + NEXT_PUBLIC_API_DOMAIN=${{ secrets.NEXT_PUBLIC_API_DOMAIN_UAT }} - name: Build and push Docker frontend image uses: docker/build-push-action@v5 @@ -80,4 +80,4 @@ jobs: tags: retypeme/retypeme-frontend-prod:${{ env.newTag }}, retypeme/retypeme-frontend-prod:latest build-args: | NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY=${{ secrets.NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY }} - NEXT_PUBLIC_API_DOMAIN=${{ secret.NEXT_PUBLIC_API_DOMAIN_PROD }} + NEXT_PUBLIC_API_DOMAIN=${{ secrets.NEXT_PUBLIC_API_DOMAIN_PROD }}