From 7154c020a1ccb6fcf14fa248a91c018401d75d8a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 10 Sep 2022 20:14:49 -0400 Subject: [PATCH] fix: use GITHUB_HEAD_REF instead --- bin/ci-pre-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ci-pre-deploy b/bin/ci-pre-deploy index 9040efb..3f46867 100644 --- a/bin/ci-pre-deploy +++ b/bin/ci-pre-deploy @@ -19,8 +19,8 @@ if [ "$IS_REVIEW_APP" = "true" ]; then git add mime.types git commit -qm "feat: specify custom mime.types" - echo "-----> Setting the buildpack to the current ref $GITHUB_REF_NAME" - echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_REF_NAME" > .buildpacks + echo "-----> Setting the buildpack to the current ref $GITHUB_HEAD_REF" + echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_HEAD_REF" > .buildpacks git add .buildpacks git commit -qm "feat: specify $GITHUB_SHA as buildpack"