Fix IPFS change detection
nx affected `head` was set to `master` instead of `HEAD`, which cause every commit to detect a change and deploy. - Fix head argument for nx affected command
This commit is contained in:
parent
7aea742677
commit
6079e2027d
@ -104,7 +104,7 @@ readdirSync(projectPath).forEach((proj) => {
|
||||
|
||||
try {
|
||||
const affectedSinceCommit = execSync(
|
||||
`yarn nx print-affected --base=${baseCommit} --head=master --select=projects`
|
||||
`yarn nx print-affected --base=${baseCommit} --head=HEAD --select=projects`
|
||||
);
|
||||
|
||||
// Detect if this project name is in output, taking care not to match names that are
|
||||
|
Loading…
Reference in New Issue
Block a user