Skip to content

Commit

Permalink
ci: unblock unstable deployments (#7924)
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev authored Mar 11, 2021
1 parent bf2f048 commit 85d4dcf
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -660,17 +660,13 @@ jobs:
- run:
name: 'Publish to Amplify Package'
command: |
if [ -z "$CIRCLE_PULL_REQUEST" ]; then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
git config --global user.email $GITHUB_EMAIL
git config --global user.name $GITHUB_USER
git status
git --no-pager diff
yarn publish:$CIRCLE_BRANCH
else
echo "Skipping deploy."
fi
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
git config --global user.email $GITHUB_EMAIL
git config --global user.name $GITHUB_USER
git status
git --no-pager diff
yarn publish:$CIRCLE_BRANCH
post_release:
executor: build-executor
Expand Down

0 comments on commit 85d4dcf

Please sign in to comment.