1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2026-04-24 09:37:36 +00:00

Merge pull request #100 from dokku/deploy-head

feat: set buildpack ref on main branch deploys
This commit is contained in:
Jose Diaz-Gonzalez
2026-04-23 03:16:46 -04:00
committed by GitHub

View File

@ -25,4 +25,7 @@ if [ "$IS_REVIEW_APP" = "true" ]; then
git commit -qm "feat: specify $GITHUB_SHA as buildpack"
git rev-parse HEAD >ci-commit-override
else
echo "-----> Setting the buildpack to the current ref $GITHUB_REF_NAME"
ssh "$SSH_REMOTE" -- buildpacks:set "$APP_NAME" "https://github.com/${GITHUB_REPOSITORY}.git#${GITHUB_REF_NAME}"
fi