Skip to content

Commit 76e3388

Browse files
authored
chore(ci): remove check against source tree from CodeBuild buildspec (#671)
CodePipeline downloads the source as a zip from the source provider rather than doing a Git clone. This means the .git folder won't be retained and git commands won't work in CodeBuild
1 parent 6908dc1 commit 76e3388

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

buildspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ phases:
1313
post_build:
1414
commands:
1515
- "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh"
16-
- git diff-index --exit-code --ignore-space-at-eol --stat HEAD
1716
artifacts:
1817
files:
1918
- "**/*"

0 commit comments

Comments
 (0)