Skip to content

Commit

Permalink
fix(ci): don't deploy to npm on master merge (#3502)
Browse files Browse the repository at this point in the history
Please provide a paragraph or two giving a summary of the change,
including relevant motivation and context.

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
  • Loading branch information
spypsy authored Dec 1, 2023
1 parent 787d59a commit a138860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ jobs:
deploy_dockerhub noir x86_64,arm64
deploy_dockerhub aztec-sandbox x86_64,arm64
deploy_dockerhub cli x86_64,arm64
deploy_dockerhub faucet x86_64,arm64
deploy_dockerhub aztec-faucet x86_64,arm64
deploy_dockerhub mainnet-fork x86_64,arm64
deploy_dockerhub l1-contracts x86_64,arm64
Expand Down
6 changes: 6 additions & 0 deletions yarn-project/deploy_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace
set -eu

# Check we're on a release flow.
if [ -z "$COMMIT_TAG" ] && [ ! "$DRY_DEPLOY" -eq 1 ]; then
echo "Not on a release flow, skipping deploy."
exit 0
fi

extract_repo yarn-project /usr/src project
cd project/src/yarn-project

Expand Down

0 comments on commit a138860

Please sign in to comment.