Skip to content

Commit

Permalink
chore: add github action to build for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Dec 18, 2023
1 parent 358a683 commit 106b29a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 106b29a

Please sign in to comment.