1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-06-26 10:30:46 +00:00

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
bin/ci-pre-deploy Normal file
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