fix: override commit being deployed

This commit is contained in:
Jose Diaz-Gonzalez 2022-09-10 19:58:50 -04:00
parent c8eef60b09
commit 53b41ec631
1 changed files with 2 additions and 0 deletions

View File

@ -23,4 +23,6 @@ if [ "$IS_REVIEW_APP" = "true" ]; then
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
git add .buildpacks
git commit -qm "feat: specify $GITHUB_SHA as buildpack"
git rev-parse HEAD >ci-commit-override
fi