Merged in fix/branch-sync (pull request #2625)

fix(branch sync): check if cached commit ref exists before ignoring builds

* fix(branch sync): check if cached commit ref exists before ignoring builds


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-08-12 11:56:17 +00:00
parent 683481a527
commit 9362d09730
4 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
[build]
command = "yarn test && yarn build:sas"
publish = "apps/partner-sas/.next"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/common packages/trpc packages/design-system packages/typescript-config"
ignore = "if [[ -v $CACHED_COMMIT_REF ]] ; then false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/common packages/trpc packages/design-system packages/typescript-config ; fi"
[context.branch-deploy]
command = "yarn test && yarn build:sas"