fix: set current buildpack as the buildpack to use

This commit is contained in:
Jose Diaz-Gonzalez
2022-09-10 17:38:10 -04:00
parent 1769636cc8
commit 648d73fda6
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh -l
if [ "$IS_REVIEW_APP" = "true" ]; then
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
git add .buildpacks
git config --global user.name 'Dokku Bot'
git config --global user.email no-reply@dokku.com
git commit -m "feat: specify $GITHUB_SHA as buildpack"
fi