Skip to content

Commit

Permalink
docs(core): allow builds when PRs are merged into master (nrwl#6061)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored Jun 17, 2021
1 parent 8ac0f3f commit 4b6dd40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"implicitDependencies": {
"package.json": "*",
".eslintrc.json": "*"
".eslintrc.json": "*",
"scripts/vercel/*": ["nx-dev"]
},
"affected": {
"defaultBase": "master"
Expand Down
6 changes: 0 additions & 6 deletions scripts/vercel/ignore-build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash

# Ignore all production deployments since this should be a manual promotion
if [ $VERCEL_GIT_COMMIT_REF == "master" ]; then
echo "🛑 - Build cancelled"
exit 0
fi

# This script is used in Vercel to determine whether to continue the build or not for nx-dev.
# Exits with 0 if the build should be skipped, and exits with 1 to continue.

Expand Down

0 comments on commit 4b6dd40

Please sign in to comment.