From 106b29ae6f5eb36d693edc8496aba5ca030442fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Mon, 18 Dec 2023 16:27:40 +0100 Subject: [PATCH] chore: add github action to build for prod --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7d7aa430944..52e64c33285 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,8 +36,15 @@ jobs: - name: Install dependencies run: yarn install --immutable - - name: Build - run: yarn build-staging + - name: Build (staging) + run: | + yarn build-staging + if: matrix.env == 'open-prices-net' + + - name: Build (prod) + run: | + yarn build-prod + if: matrix.env == 'open-prices-org' # Deploy - name: Set common variables