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:
8
bin/ci-pre-deploy
Normal file
8
bin/ci-pre-deploy
Normal 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
|
Reference in New Issue
Block a user