Skip to content

Commit

Permalink
fix: add build before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
phani-srikar committed Jul 31, 2023
1 parent 342844b commit b812315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .codebuild/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ else
git fetch --all
yarn install
git restore .
yarn production-build
fi

if [ -z "$GITHUB_EMAIL" ]; then
Expand Down
1 change: 1 addition & 0 deletions shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ function runE2eTest {
}

function _deploy {
_setShell
echo "Deploy"
echo "Authenticate with NPM"
PUBLISH_TOKEN=$(echo "$NPM_PUBLISH_TOKEN" | jq -r '.token')
Expand Down

0 comments on commit b812315

Please sign in to comment.