1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-25 10:23:07 +00:00

chore: add some debugging information

This commit is contained in:
Jose Diaz-Gonzalez 2022-09-10 18:02:11 -04:00
parent 22619107ab
commit 7794c2c36f

View File

@ -1,8 +1,9 @@
#!/bin/sh -l
if [ "$IS_REVIEW_APP" = "true" ]; then
echo "purging repo cache"
echo "-----> Purging repo cache"
ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME"
echo "-----> Setting the buildpack to the current commit"
echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks
git add .buildpacks
git config --global user.name 'Dokku Bot'