Skip to content

Commit

Permalink
chore(ci): update pipeline for bundle update
Browse files Browse the repository at this point in the history
  • Loading branch information
tlebon committed Jan 25, 2024
1 parent e01afa5 commit 631898f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ jobs:
mkdir -p ./dist
echo -e "$GITHUB_SHA" > "./dist/commit"
- name: Build staging
if: ${{env.BRANCH_NAME == 'staging'}}
run: yarn bundle:staging

- name: Build production
if: env.TAG != ''
run: yarn bundle:prod
- name: Build
run: |
if [ "$TAG" != "" ]; then
yarn bundle:prod
else
yarn bundle:staging
fi
- name: Deploy staging build to Elastic Beanstalk
if: env.BRANCH_NAME == 'staging' && matrix.DISTRIBUTION == 'DISTRIBUTION_0'
Expand Down

0 comments on commit 631898f

Please sign in to comment.