diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a35962b..a35bea1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,10 +31,16 @@ jobs: - name: Build, tag, and push image to Amazon ECR id: build-image env: + NEXT_PUBLIC_BACKEND_API_URL: ${{ vars.NEXT_PUBLIC_BACKEND_API_URL }} + NEXT_PUBLIC_STORE_ID: ${{ vars.NEXT_PUBLIC_STORE_ID }} ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY }} IMAGE_TAG: ${{ github.sha }} run: | + cat > .env <> $GITHUB_OUTPUT