mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-12-27 22:35:24 +00:00
8 lines
308 B
Plaintext
8 lines
308 B
Plaintext
|
#!/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
|