docs(core): allow builds when PRs are merged into master (#6061)
This commit is contained in:
parent
8ac0f3f5ff
commit
4b6dd40a13
3
nx.json
3
nx.json
@ -1,7 +1,8 @@
|
||||
{
|
||||
"implicitDependencies": {
|
||||
"package.json": "*",
|
||||
".eslintrc.json": "*"
|
||||
".eslintrc.json": "*",
|
||||
"scripts/vercel/*": ["nx-dev"]
|
||||
},
|
||||
"affected": {
|
||||
"defaultBase": "master"
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user